REST API Monitor - FAQS

REST API Monitor - FAQS

1. What should I do when Basic Authentication fails in REST API monitor?

  1. Verify if the credentials provided in the Applications Manager are correct.
  2. Try if sending username and password in Authorization request header works
    1. Get an BASE-64 encoded value of username:password. eg: If the username is admin and password is test get BASE-64 encoded value of admin:test
    2. Provide the base-64 encoded value in Custom HTTP(s) headers field in REST API monitor as "Authorization_sep_BASIC YWRtaW46dGVzdA==" and then check if Test Credential gets passed.
      1. YWRtaW46dGVzdA== is the BASE-64 encoded value of admin:test. ie. username:password.       
In basic authentication, our HTTP client will first make request to the server without credentials and when the server returns 401 Unauthorized message request will be made again to the server with credentials. In few servers configuration will be made in such a way when credentials are not sent directly or in first request, after sending 401 Unauthorized  message server will disclose the connection hence basic authentication will fail in such case for REST API monitor in Applications Manager. In such case you can make use of Custom HTTP(s) headers to send username and password as mentioned above.


          • Related Articles

          • Real User Monitor (RUM) - Troubleshooting

            If the monitor has not polled data for long time. Follow below steps for troubleshooting Check prerequisites to done : Real User Monitor requires RUM Agent to be installed and mapped to Applications Manager. Refer the help page to know how to setup ...
          • Service Now Event Integration using Webhook / Rest API Action

            Steps to perform in Service Now 1) Login to your ServiceNow Instance(dev*****133.service-now.com) 2) Search for the Rest API Explorer and open it 3) In the Rest API Explorer page choose the Namespace and API Name with the proper API version. For ...
          • REST API Monitor Troubleshooting Steps

            1. I'm not able to add a REST API Monitor I'm getting a "Failed" message or 4xx error code: Check the request configuration: Ensure that the request type and the corresponding payload is correct. Check the Authentication details being sent with the ...
          • OpenShift Monitoring in Rest API Mode

            For the OpenShift monitor, data collection happened using SSH mode which resulted in timeout exception due to the presence of large amount of data. To avoid the timeout exception, enhancement has been made such that data collection takes place using ...
          • How to get ISP data in Real User Monitor?

            By default, Real User Monitor does not show ISP data of end user. To get ISP data, you can make use of any third-party Geolocation API. Currently, RUM supports only APIs that return the response in JSON format. When you have purchased any Geolocation ...