Token Links Error Reference
The table below describes the error codes returned by the Token Links API. These codes help identify specific issues encountered when working with token links, such as invalid or missing parameter values, expired or invalid token links, or unauthorized actions.
Error Code | Description | Status Code |
---|---|---|
Key_BillingAddressCannotBeNullOrEmpty | The 'address' object cannot be null or empty. Please provide a valid billing address. | 400 |
Key_ExpireInCannotBeLessThanOneHourOrGreaterThan70Days | The 'expireIn' parameter must be between one hour and 70 days. Adjust the expiration duration accordingly. | 400 |
Key_ExpireInCannotBeNullOrEmpty | The 'expireIn' parameter cannot be null or empty. Specify the expiration duration for the token link. | 400 |
Key_ExpireInUnitCannotBeNullOrEmpty | The 'ExpireInUnit' parameter cannot be null or empty. Provide the unit of time for expiration (e.g., hours, days). | 400 |
Key_InvalidExpireInUnitType | The 'ExpireInUnit' value is invalid. Use a valid unit such as 'hours' or 'days'. | 400 |
Key_InvalidMerchant | The 'MerchantId' provided is invalid. Verify your merchant ID and try again. | 400 |
Key_InvalidRequest | The request is invalid because it is empty. Ensure your request includes the necessary data. | 400 |
Key_InvalidTokenLinkId | The 'TokenLinkId' provided is invalid. Check the token link ID and try again. | 400 |
Key_MerchantInActive | The merchant account is inactive. Contact support to reactivate your account. | 400 |
Key_NoTokenResourceFound | The specified token resource was not found. Verify the resource details and try again. | 400 |
Key_TitleCanNotbeNullOrEmpty | The 'title' parameter cannot be null or empty. Provide a title for the token link. | 400 |
Key_TitleShouldBeLessThanOrEqualTo80Characters | The 'title' parameter should be 80 characters or fewer. Shorten the title and try again. | 400 |
Key_TokenIsAlreadyGenerated | An account token has already been generated for this token link. You cannot generate another. | 400 |
Key_TokenLinkCannotBeNullOrEmpty | The 'TokenLinkId' cannot be null or empty. Provide a valid token link ID. | 400 |
Key_TokenLinkIsAlreadyExpired | The token link has already expired. You cannot perform this operation on an expired link. | 400 |
Key_TokenLinkIsFailed | The token link has failed due to an unknown system or process issue. Please try again later. | 400 |
Key_TokenLinkIsInvalidated | The token link has been invalidated or cancelled. This link can no longer be used. | 400 |
Key_TokenLinkNotFound | The token link was not found. Verify the token link ID and try again. | 400 |