Errors

Learn about error responses

To communicated the success or failure of API requests to clients, TNG Identity SSO uses standard HTTP codes and redirects with error information in responses. Codes 2xx indicate a success, 3xx is a redirection with either success of failure response, 4xx indicates a client error and 5xx an Identity SSO server error.

Errors that can be handled programatically contain an error response body or in case of indirection, the error attributes are encoded in the redirection URI in the application/x-www-form-urlencoded format.

An example of a redirect response uri: `https://{redirect-url}?client_id=d8ffc41f-61ef-47d6-8661-e1374e82a563&state=MCatotF2bqYhi56JjBR0&error=server_error&error_description=server+errorarrow-up-right`

Attributes


code string

For some scenarios that can be handled programatically a short error code indicating the Error Code is returned


error_description string

In some cases an additional human readable description is returned

Last updated