Skip to main content
Nintex Community Menu Bar
Question

Data look up connected custom Xtention with Oauth2 authentication is failing load

  • October 9, 2023
  • 1 reply
  • 54 views
  • Translate

Forum|alt.badge.img

I am having trouble connecting to my external  Microsoft Oauth 2 secured REST API using Xtentions . I was able to add the Xtension successfully also added the connection and the DataSource successfully but when I try to data lookup the DataSource  I am getting “Service unavailable” on the browser console and the data does not load.  

How do I troubleshoot this issue. 

 

Error message on the browser console
 

 

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

1 reply

AnthonyD
Nintex Employee
Forum|alt.badge.img+6
  • Nintex Employee
  • 35 replies
  • October 9, 2023

Hello @Lotshwao ,

Does the connector work in the workflow to retrieve data?

 

Also, did you add the offline token in the swagger definition?
https://help.nintex.com/en-US/xtensions/04_Reference/Tutorials/OAuth.htm?tocpath=Connect%20and%20authenticate%7C_____3#Ensuring
Important:  Using a refresh token may require a specific scope, such as `offline_access`. You will need to define this scope in your security definition to use the refresh token. Refer to the documentation for your API for more details.

 

If you find the connect works just after registering and then after some time, it doesn’t work - you might find the token is not getting refreshed. This is usually caused as the offline_access hasn’t been specified.

 

If this is not the case, you might need to get some help from the Professional Services team as custom xtensions can get quite tricky with authentication.

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