Forum Discussion

SmartBearRD's avatar
6 years ago

HTTP 401 on Secure Web Site Monitor? Try Using AUTHENTICATE PRE-EMPTIVELY

Customers can experience HTTP 401 from the Secure Web Site API monitor, even if their API runs fine from a third-party API testing tool. One way to try to clear this error with the Secure Web Site API monitor is to use the following settings in the Request Authentication in the Secure Web Site API:


Basic Authorization

USER ID

PASSWORD

AUTHENTICATE PRE-EMPTIVELY - CHECK THIS BOX

This will create an Authentication header that gets sent in the original first request, which results in a 200 OK from the server (and not HTTP 401).

 

Here is a short video using UXM showing how to easily set this.

 

https://vimeo.com/307541844

 

This post is based on a recent Customer Care case and a Knowledge Base article was created:

https://na33.salesforce.com/articles/Technical_Article/I-am-Seeing-a-401-Unauthorized-Error-Status-7-from-Secure-Web-Site-API-Monitor?navBack=H4sIAAAAAAAAAIuuVipWslLyzssvz0lNSU_1yM9NVdJRygaKFSSmp4ZkluSA-KVAvn58aaZ-NkyhPpCDqqs2FgCHRwp0TQAAAA&popup=false

No RepliesBe the first to reply