HTTP status codes

HTTP code

Message

Description

200 OK

*see code examples*

The HTTP request was accepted. tyntec will reply with the requested information.

400 Bad Request

*see validation error message list below*

The HTTP request failed to pass the validation, i.e., one or more of the required parameters of the request is empty / missing / contradictory / invalid. The message provides more information as to why the validation failed.

401 Unauthorized

Bad credentials

The credentials provided are not authorized.

403 Forbidden

Username / password wrong or missing

The credentials provided are not authorized.

404 Not Found

The requested resource cannot be retrieved

The requested URI is either non-existent or the respective authentication is invalid.

405 Method Not Allowed

Invalid request method

The request contains an invalid HTTP method (POST/GET).

406 Not Acceptable

The content-type is not supported. Allowed value is “application/json”

The request is not in JSON format.

415 Unsupported Media Type

The media type is not supported. Allowed media-types is “application/json”

The request is not in JSON format.

500 Internal Server Error

Please retry. If error persists, please contact customer support.

There was an unexpected error.

 

The error message of the validation may mean one or more of the following:

Message

Description

Invalid authentication.

Invalid username and/or password, or wrong authentication token.

The requested URI was not found.

The requested URI is either non-existent or the provided authentication is invalid.

Unexpected error, please retry. If error persists, please contact customer support.

Something unexpected occurred during the processing of the request.

The request method is not supported.

The request method is not supported.

The content-type is not supported. Allowed values are “application/xml” and “application/json”.

The request is either JSON or XML format, or the HTTP header reads “Content-Type”.