Error Codes

This page gives you information about what errors can occur and how to handle them.

Deepinfo utilizes HTTP response error codes to show the success or failure of your API requests. If your request fails, Deepinfo returns an error with the appropriate status code.

Generally, status code ranges are described as follows.

  • 2XX codes (success): Successful status code verifies that your request worked as expected.
  • 4XX codes (client error): Error codes indicate the list of HTTP status codes used for possible failed requests of the client.
  • 5XX codes (server error): Although they are not common but indicate possible errors with Deepinfo servers.

Deepinfo API Exception Codes

Code

HTTP Code

Exception

Detail

10000

400

InvalidDomainNameException

The given input is not a valid domain name.

10001

400

MissingExtensionException

Domain extension is not given in the input.

10002

400

InvalidExtensionException

Domain extension in the given input is not valid.

10003

400

InvalidSubdomainException

Domain subdomain in the given input is not valid.

11000

400

InvalidFqdnException

The given input is not a valid fqdn.

12000

400

InvalidIPException

The given input is not a valid IP.

17000

400

InvalidPortException

The given input is not a valid port.

17001

400

InvalidPortRangeException

Invalid port range.

10400

400

InvalidRequestException

Validation Error

10408

400

InternalTimeoutException

Request timed out.

10444

400

RemoteConnectionResetException

Connection reset by remote server.