Token Related Messages
Error codes related to token authentication, validation, and lifecycle management.
Overview
| Code | Message | Description |
|---|---|---|
TOK001 | The refresh token provided is expired, revoked, or malformed. Please request a new token. | Refresh token is expired, revoked, or malformed |
TOK002 | The requested token was not found or has expired after {0} minutes. Please check your download ID or generate a new token. | Token was not found or has expired |
TOK003 | Failed to export token for download Id {0} | Error exporting token |
TOK004 | The token request cannot be null. Please provide a valid token request object. | Required parameter token request is null |
TOK005 | The expiry date of the token request cannot be more than {0} hours in the future. Provided expiry date: {1}. Please adjust the expiry date accordingly. | Token expiry date exceeds the allowed limit |
TOK006 | The provided function list exceeds the maximum allowed length of {0}. Please reduce the number of functions and try again. | Function list exceeds the maximum allowed length |
TOK007 | The username or password you entered is incorrect. Please check your credentials and try again. | Incorrect username or password |
TOK008 | An unexpected error occurred during authentication. Please try again or contact support if the issue persists. | Unexpected error occurred during authentication |
TOK009 | The access token provided is expired, invalid, or revoked. Please refresh your token or reauthenticate. | Access token is expired, invalid, or revoked |
TOK010 | An error occurred while signing out. Your session may still be active. Please try again. | Error occurred during sign out |
TOK011 | This token is currently being used in another operation. Please use a different token. | Token is currently being used in another operation |
TOK012 | Authentication failed due to missing device information. Please log in again. | Authentication failed due to missing device information |
TOK013 | Token with ID '{0}' was not found. | Token not found with the provided ID |
Error Code Details
TOK001
Message
The refresh token provided is expired, revoked, or malformed. Please request a new token.
Description
The refresh token submitted with the request is no longer valid. It may have expired, been explicitly revoked, or contain malformed data.
Root Cause
- The refresh token has passed its expiration time.
- The token was revoked due to a logout or security event.
- The token value is malformed or corrupt.
Resolution
- Reauthenticate to obtain a new refresh token.
- Request a new token via the authentication flow.
TOK002
Message
The requested token was not found or has expired after {0} minutes. Please check your download ID or generate a new token.
Description
The token associated with the specified download ID could not be found or has already expired.
Root Cause
- The download ID is incorrect or does not exist.
- The token has exceeded its expiration window.
Resolution
- Verify the download ID is correct.
- Generate a new download token and retry.
TOK003
Message
Failed to export token for download Id {0}
Description
An error occurred while attempting to export the token for the specified download ID.
Root Cause
- An internal error prevented the token export operation from completing.
- The download ID is invalid or the associated token is unavailable.
Resolution
- Retry the token export operation.
- If the issue persists, contact support with the download ID for investigation.
TOK004
Message
The token request cannot be null. Please provide a valid token request object.
Description
The token request parameter was not provided. A valid token request object is required to process this operation.
Root Cause
- The token request object was not included in the API call.
- The request body is empty or null.
Resolution
- Provide a valid token request object in the request body.
- Ensure all required fields are populated before submitting.
TOK005
Message
The expiry date of the token request cannot be more than {0} hours in the future. Provided expiry date: {1}. Please adjust the expiry date accordingly.
Description
The expiry date specified in the token request exceeds the maximum allowed time limit from the current time.
Root Cause
- The expiry date was set too far in the future beyond the system-allowed limit.
Resolution
- Set the token expiry date within the allowed time range (not exceeding {0} hours from now).
- Adjust the expiry date and resubmit the request.
TOK006
Message
The provided function list exceeds the maximum allowed length of {0}. Please reduce the number of functions and try again.
Description
The function list included in the token request contains more entries than the system allows.
Root Cause
- Too many functions were included in the token request payload.
Resolution
- Reduce the number of functions in the list to within the allowed limit.
- Retry the request with the reduced function list.
TOK007
Message
The username or password you entered is incorrect. Please check your credentials and try again.
Description
Authentication failed because the provided username or password does not match any valid account credentials.
Root Cause
- The username or password is incorrect.
- The account may be locked or disabled.
Resolution
- Verify the username and password are correct.
- Reset your password if you have forgotten it.
- Contact your administrator if the account is locked.
TOK008
Message
An unexpected error occurred during authentication. Please try again or contact support if the issue persists.
Description
An internal error occurred during the authentication process that was not caused by invalid credentials.
Root Cause
- An unexpected server-side error occurred during authentication.
- A transient system failure interrupted the authentication flow.
Resolution
- Retry the authentication request.
- If the issue persists, contact support for further investigation.
TOK009
Message
The access token provided is expired, invalid, or revoked. Please refresh your token or reauthenticate.
Description
The access token submitted with the request is no longer valid. It may have expired, been revoked, or be otherwise invalid.
Root Cause
- The access token has passed its expiration time.
- The token was revoked due to a logout or security policy change.
- The token value is invalid or malformed.
Resolution
- Refresh the access token using a valid refresh token.
- Reauthenticate to obtain a new access token.
TOK010
Message
An error occurred while signing out. Your session may still be active. Please try again.
Description
An error occurred during the sign-out process. The user session may not have been fully terminated.
Root Cause
- A server-side error interrupted the sign-out operation.
- The session state could not be cleared due to a transient failure.
Resolution
- Retry the sign-out operation.
- If the session remains active, contact support to force-terminate it.
TOK011
Message
This token is currently being used in another operation. Please use a different token.
Description
The token cannot be used because it is already locked by a concurrent operation.
Root Cause
- The token is being consumed by another in-progress operation.
Resolution
- Use a different token for this operation.
- Wait for the current operation to complete, then retry.
TOK012
Message
Authentication failed due to missing device information. Please log in again.
Description
Authentication could not be completed because required device information was absent from the request.
Root Cause
- The device information was not included in the authentication request.
- The device context is missing or has been cleared.
Resolution
- Log in again with valid device information included in the request.
TOK013
Message
Token with ID '{0}' was not found.
Description
The token identified by the specified ID does not exist in the system.
Root Cause
- The token ID is incorrect or was never created.
- The token was deleted or expired and removed from the system.
Resolution
- Verify the token ID is correct and corresponds to an existing token.
- Generate a new token if the original has been removed.