Error Messages for the TBA Authorization Flow
See the following table for information about resolving error messages for the TBA authorization flow.
Request Token Errors |
Access Token Errors |
Problem |
Resolution |
---|---|---|---|
UnknownIntegration |
Unknown |
The appropriate integration record could not be found. |
|
—
Note:
If the company ID parameter is specified in Step 1 of the TBA authorization flow, the value of the error is IntegrationBlocked. |
Integration |
The state of the integration record is Blocked. |
Enable the application on the integration record. To enable the app:
|
AuthorizationFlowRequired |
Authorization |
The integration application does not use the TBA authorization flow. |
Ensure that the TBA: Authorization Flow box is checked in the corresponding integration record. For more information, see Create Integration Records for Applications to Use TBA. |
InvalidTimestamp |
Invalid |
The timestamp is not in the allowed range. The timestamp of the request must be within plus or minus five (+ or – 5) minutes of the server time. |
Ensure that:
|
InvalidSignature |
InvalidSignature |
The signature is incorrect. |
See Generating the Signature for the TBA Authorization Flow for the correct method of signing a request. See also The Signature for Web Services and RESTlets. |
InvalidCallback <<--callback-URL-specified-->> |
— |
The callback URL is not valid. |
On the integration record, verify the callback URL and correct the request as needed. |
MissingRequiredParameter |
Missing |
The request is missing a required parameter. |
Verify that all required parameters are included in the request. For more information, see the following topics:
|
NonceRejected |
NonceRejected |
The nonce was not long enough. |
Nonce must be at least six characters long. An ideal nonce length is 20 characters. |
NonceUsed |
NonceUsed |
The combination of nonce and timestamp has already been used by this user. |
|
— |
TokenRejected |
The token could not be found. |
Ensure that the token:
|
— |
Entity |
The entity or role is not usable. |
This error may have many causes.
|
FeatureDisabled |
FeatureDisabled |
The Token-based Authentication feature in NetSuite is not enabled. |
Enable the feature. See Enable the Token-based Authentication Feature. |
UnknownAlgorithm |
Unknown |
Potential reasons for this error message include:
|
Potential resolutions include:
|
VersionRejected |
VersionRejected |
The request uses an invalid value for OAuth version parameter. |
The value for the OAuth version parameter must be 1.0. |
— |
InvalidVerifier |
The value of the oauth_verifier parameter does not match the value provided in Step Two of the TBA flow. |
Ensure that the value of the |