Specific Errors Scenarios

Empty Input Value Error

This API also allows you to list monitoring domains for specific terms and parameters. While you don't have to select monitoring parameters, if you choose a monitor parameter (body params), you must set a valid value for it. Otherwise, the below sample error message returns.

$ curl --request POST \
     --url 'https://api.deepinfo.com/v1/monitoring/registration/domains?page=1&page_size=100' \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '
{
     "filters": {
          "should": [
               {
                    "name": "domain.name",
                    "type": "eq"
               }
          ]
     }
}
'
HTTP/1.1 400 BAD REQUEST ERROR
...
{
  "code": 10400,
  "reason": "body.filters.should.0.__root__ Value cannot be empty. - body.filters.__root__ At least one filter has to be provided."
}

Did this page help you?