cancel
Showing results for 
Search instead for 
Did you mean: 

401 Error using Https in API REST GET call

debra_paponette
New Contributor

In house API call that works well in all browsers and postman returns “REST API service endpoint returned error result: status code = 401, reason phrase = Unauthorized, refer to the error_entity field in the error view document for more details” when using the REST snap

The following was tried and the issue persist
-Create account from REST GET similar to what is used to access API from browser (NTLM)
-Trust all certificates settings checked on REST snap
-‘Keep-alive’ connection added to Header settings
-Cookie details added to Header settings

Does anyone have any suggestion to assist in getting this error fixed

33 REPLIES 33

robin
Former Employee

@debra.paponette would it be possible to show the REST NTLM Account configuration you are using (with any sensitive information redacted) please?

Sure see attachedaccounts_NTLM

debra_paponette
New Contributor

See attached success from browser and postman as well as errror from snaplogic

Note that all three instances uses windows AD to access the API and is the same user tested on all three. Both postman and browser is successful. Rest snap complains about it be unauthorised, which is not truerestsnapFail successCall

Debra,

For PostMan, you have Domain = GHL, but in the snap account, it’s ghl.int. Have you tried setting it to GHL there?

Hi I tired ghl.int in the snap after the GHL wasnt working to see if. It made a difference. Same error using either GHL or ghl.int