Errors

Error codes and meanings

T-Gate uses conventional HTTP response codes to indicate the success or failure of an API request alongside a message that describes where the error is coming from. Below is a summary of the expected response codes:

CodeDescription
200Success
201Success, Created
400Bad Request, Invalid request body, Invalid or missing parameters
401Unauthorized, Invalid or expired access token
403Forbidden, Unauthorized action
404Not Found
422Unprocessable Entity, Invalid or missing parameters