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.


                  New to ADSelfService Plus?

                    • Related Articles

                    • Real User Monitor (RUM) - Troubleshooting

                      If the monitor has not polled data for a long time, follow the steps below for troubleshooting: Step 1: Check prerequisites to be done Real User Monitor requires the RUM Agent to be installed and mapped to the Applications Manager. Refer the help ...
                    • 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 when carried out using SSH mode sometimes results in timeout exception due to the presence of large amount of data to be collected. To avoid this, an enhancement has been made and now data collection will ...
                    • AWS Monitor Addition - FAQs

                      Best Practices while adding an Amazon monitor in Applications Manager: Provide proper 'Display name' for the Amazon monitor. Select the Amazon services you want to discover from the Amazon services drop box. By default, all the services will be ...