401 Error using Https in API REST GET call
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2020 09:59 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2020 10:06 AM
Do you have an error view on this REST Snap to see what it’s sending to the error_entity field?
Diane Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2020 10:08 AM
Hi yes i do,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2020 10:19 AM
Strictly from my own stumbling blocks with REST APIs:
- Make sure the expression toggle (the equal sign button) is not selected if you are passing straight text, but is if you are using an expression.
- Make sure headers are in the HTTP Headers section, not the Query Parameters (I’ve done this more than once 😀 )
- Any other headers needed like content-type?
- Check for case-sensitivity.
Diane Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2020 10:24 AM
Yep expression box = sign is not toggled as i am passing text
the http headers are placed under headers
and the query is passed under the query
