Specific Errors Scenarios

Missing Body Field Error

When sending requests to the API, you must ensure that all required parameters are provided. For example, missing body fields will cause the following error.

$ curl --request PUT \
         --url https://api.deepinfo.com/v1/monitoring/registration/monitors/XX0d05e7-49c5-4e3f-bc67-ae2bde3b10XX \
         --header 'Accept: application/json' \
         --header 'Content-Type: application/json' \
HTTP/1.1 404 NOT FOUND ERROR
...
{
  "code": 10400,
  "reason": "body field required."
}

Invalid Monitor ID

Please note that a correct and valid monitor ID is required. Otherwise, the following error will appear.

$ curl --request PUT \
         --url https://api.deepinfo.com/v1/monitoring/registration/monitors/000eaf14-f140-4cc1-867e-5e7c483c5200 \
         --header 'Accept: application/json' \
         --header 'Content-Type: application/json' \
HTTP/1.1 404 NOT FOUND ERROR
...
{
  "detail": "Monitor Config Not Found"
}

Did this page help you?