Skip to content

Additional Error Codes for API Calls for Token Exchange and Verification

Additional Error Codes for API Calls for Token Exchange and Verification

The following table summarizes the error codes that may be returned when attempting to verify and exchange an OT token, or validate a long-term access token.

Error Code Code Designation Code Explanation
410 Gone CID_TOKEN_EXPIRED The token passed in the request body (either an OT token or a long-term access token) has expired. The expiry time for OT tokens equals one minute; the expiry time for long-term tokens is chosen by brokers (but is potentially unlimited).
417 Expectation Failed CID_NON_EXISTED_TOKEN The token passed in the request body (either an OT token or a long-term access token) does not exist.

Last update: September 26, 2022

Comments