REST API Monitor Troubleshooting Steps

REST API Monitor Troubleshooting Steps

1. I'm not able to add a REST API Monitor
  1. I'm getting a "Failed" message or 4xx error code:
    1. Check the request configuration: Ensure that the request type and the corresponding payload is correct.
    2. Check the Authentication details being sent with the request:
      1. If you are manually entering the username and password, re-check the credentials.
      2. In case you are selecting an already configured credential, go to Admin tab -> Credentials Settings -> Check the corresponding username and password.
      3. If you are using OAuth, go to Admin tab -> OAuth Provider. Check the if the OAuth Provider access token has expired and whether you have provided the necessary scope permissions required to get the data from the API. If the access token has expired, refresh the token by clicking on the "Authorize" button in the edit provider page.
    3. Check if the URL is valid:
      1. Access the URL in the browser and check the response code being returned
  2. I'm getting a 5xx error code: The error codes of the 5xx format are usually sent because the data being sent in the request could not be parsed correctly in the API webserver. Check the API webserver logs for the data being received from Applications Manager.
  3. I'm getting a 6xx error code: This response code is returned when Applications Manager is not able to establish a connection with the REST API. Check the accessibility of the URL from the server in which Applications Manager has been installed.
2. Error after monitor has been created
  1. I'm getting a 4xx error code:
    1. Check if the authentication credentials required by the API have changed. To check the credentials being sent from Application's Manager, Click on Edit Monitor. This will open the edit monitor page where all the authentication details are listed.
    2. If you are manually entering the username and password for API authentication, recheck the credentials to ensure they are the valid for the API. 
    3. In case you are using an already configured credential, go to Admin tab -> Credentials Settings -> Check the corresponding username and password. Recheck the configured data to ensure they are the valid for the API. 
    4. If you are using OAuth, go to Admin tab -> OAuth Provider. Check the if the OAuth Provider access token has expired and whether you have provided the necessary scope permissions required to get the data from the API. If the access token has expired, refresh the token by clicking on the "Authorize" button in the edit provider page.

          • 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 ...
          • REST API Monitor - FAQS

            1. What should I do when Basic Authentication fails in REST API monitor? Verify if the credentials provided in the Applications Manager are correct. Try if sending username and password in Authorization request header works Get an BASE-64 encoded ...
          • 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 ...
          • Troubleshooting URL Monitor

            Here are few of the common errors you may come across in URL monitor, we have mentioned the steps you can follow to troubleshoot them.   General troubleshooting for URL monitor Ensure that the URL is accessible from the server in which Applications ...
          • 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 ...