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

dmiller
Former Employee

What about if you don’t have Trust all certificates selected?


Diane Miller

debra_paponette
New Contributor

I have tried the follow combinations all with the same issue

-unchecked ‘Trust all certificates’ and leave headers and follow re-directs
-Check ‘Trust all certificates’ and leave headers and follow re-directs
-unchecked ‘Trust all certificates’ and follow re-directs but leave headers
-unchecked follow re-directs but lchecked ‘Trust all certificates’ and leave headers
-Checked both ‘Trust all certificates’ and follow re-directs but remove header settings

@debra.paponette Did you try from it from groundplex?

HI,

Yes it executes on the groundplex. Its an internally built API (internal to the organization network) that has to be executed on the groundplex

skatpally
Former Employee

401 is an Authorization issue. If you can get that working with postman then you can replicate that same with Rest Get Snap.