Skip to main content
Nintex Community Menu Bar
Question

Nintex Xtention: Received an error response from the connector: Not allowed to execute the request for non permitted hosts.

  • December 13, 2023
  • 2 replies
  • 190 views

Forum|alt.badge.img+2

Hi guys,
 

I am currently working with our Dev Team on an App. 

We have a requirement to trigger a NAC workflow via an Api (which works)
This workflow then calls an api to retrieve some data (which is failing)
 

Nintex Xtention: Received an error response from the connector: Not allowed to execute the request for non permitted hosts.


We aren’t sure what we can check, we’ve whitelisted IP’s etc but the error isn’t hugely useful. I’ve also logged a ticket so will update here if it’s resolved.
 

Thank you!

Translate
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+10
  • Nintex Employee
  • 176 replies
  • December 13, 2023

When the workflow calls the api via the xtension, the call is likely coming from your NAC tenant to the web service.

If the web service requires the whitelisting of the caller’s ip addresses, you may have to whitelist the following NAC ip addresses base on the region of your NAC tenant:

https://help.nintex.com/en-US/platform/AllowlistIPAddresses.htm

Translate

Forum|alt.badge.img+8
  • Apprentice
  • 65 replies
  • December 13, 2023

What API are  you trying to connect to?  Is it internal or external?  If internal, then you have to install and go through the Nintex Gateway.  If external, then are there any security restrictions on that API?  Have you tried a different external API and gotten it to work?  Try the AccuWeather API, which is a simple one to get a response, although you may first need to register with AccuWeather and get an API key.

 

Use “Call a web service” action.

Add this URL,

https://dataservice.accuweather.com/currentconditions/v1/351198?apikey=

Then add the API key.

The Request Type is “HTTP Get.”

 

Under “Response content,” add a variable, which will be Text (it will be JSON text).  If you get a response without error, then you know that you can successfully call an external web API, which then tells you that you have to figure out why your other API is not allowing Nintex to connect.  Maybe it requires an API key also.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings