Skip to content
Trust2Connect T2C API Suite

Error Responses

This section describes the standard error responses returned by the Trust2Connect API. Each error response includes an HTTP status code, an error type, and a descriptive message to help you diagnose and resolve issues quickly.

Occurs when a required parameter is missing or an invalid value is provided. Refer to the API documentation for required parameters for each endpoint.

{
"error": "invalid_request",
"error_description": "Unsupported grant type : oauth"
}

Occurs when authentication fails or the access token is missing or expired. Ensure your token is included in the request header and is still valid.

{
"error": "expired_token",
"error_description": "Access token has expired."
}

Occurs when the requested resource does not exist. Verify the endpoint URL and resource identifiers.

{
"error": "not_found",
"error_description": "Resource not found."
}

Occurs when an unexpected error happens on the server. If this persists, please contact Trust2Connect support for assistance.

{
"error": "internal_server_error",
"error_description": "An internal server error occurred."
}