Specific Errors Scenarios
Invalid API Key
Please ensure that you have provided the accurate API key associated with your Deepinfo account in the API request. You can verify the valid API key from your dashboard. If you utilize an incorrect or inactive API key, you will get the following error.
$ curl --request GET \
--url 'https://api.deepinfo.com/v1/monitoring/registration/monitors?status=active&deleted=false&page=1&page_size=100' \
--header 'Accept: application/json' \
--header 'apikey: [invalid API key]' \
HTTP/1.1 401 UNAUTHORIZED ERROR
...
{
"message": "Invalid authentication credentials"
}
Updated about 3 years ago