Skip to main content
Nintex Community Menu Bar

i followed this article

https://maverick0607.wordpress.com/2017/05/02/k2-rest-service-broker-v4-7/

to create service instance for microsoft graph

everything is fine before step 5, i got the oAuth token successfully

but i can’t save the service instance, popup error message:

VALIDATIONSourceCode.SmartObjects.Services.Endpoints.Rest.Exceptions.RestBrokerException: Unhandled Exception while describing service (Inner: The remote server returned an error: (404) Not Found.) ---> System.Net.WebException: The remote server returned an error: (404) Not Found.

any help will be appreciated

Reason:

The Authentication Mode used for the service instance is also be used to access the Description Location JSON file when that file is a URL. You may want to make sure that the file is located somewhere that does not require authentication to open.

When i use oAuth authentication mode, k2 access json file with Azure AD token, which github don't recognize

Solution:

1 chnage Description Location to local : file:////path]/swagger.json

2 set up the online environment that file does not require authentication to open


Reply