Troubleshooting Guide for SuiteCloud SDK
This topic provides information about errors related to SuiteCloud SDK and how to solve them.
Authentication Errors
Error Message |
Scenario |
Solution |
---|---|---|
Secure storage is inaccessible. Ensure that the secure storage in your system is properly configured and accessible. |
The secure storage of the operating system is not accessible. It may be locked or not properly configured. |
Check the OS-based secure storage service on your machine.
As a temporary solution, while the secure storage issue is being resolved, you can use the If the For more information, see Browser-Based Authentication Standard Process and Fallback Mode and Setting Up Environment Variables for SuiteCloud SDK Tools. |
There was an error with the private key used to authenticate. The private key does not match the certificate ID {0}. |
When authenticating using machine-to-machine authentication, the specified private key and certificate ID do not match. |
Ensure that you are using the correct private key and certificate ID combination. |
There was an error with the private key used to authenticate. Verify the contents of the private key. |
When authenticating using machine-to-machine authentication, the specified private key file is either corrupted or not valid. |
Generate a new certificate. For information about how to obtain the certificate ID, see OAuth 2.0 Authentication for SuiteCloud SDK. |
There was an error with the certificate ID used to authenticate. Verify that certificate ID {0} is valid and not expired or revoked in account {1}. |
When authenticating using machine-to-machine authentication, the specified certificate ID is not valid. |
Ensure that OAuth 2.0 is enabled in the account. For more information, see Enable the OAuth 2.0 Feature. Verify that the certificate ID is valid. In the NetSuite account, go to Setup > Integration > Manage Authentication > OAuth 2.0 Client Credentials (M2M) Setup. |
Credentials and Passkey Errors
Error Message |
Scenario |
Solution |
---|---|---|
The current passkey cannot decrypt the credentials file {0}. Try deleting the file and setting up your account again. |
The current passkey is different from the passkey used to create the existing credentials file. |
If the passkey is set in the environment variable If you don't have the passkey for the existing credentials file, you need to delete the credentials file from the
Note:
When you delete the existing credentials file, previously configured authentication IDs will be lost. When you re-authenticate, a new credentials file will be generated with the correct passkey. If the passkey is set in the |
The passkey required to decrypt your credentials is missing. Try deleting the credentials file {0} and setting up your account again. |
The passkey is missing or there is a problem with the Oracle NetSuite: Account Credentials entry in the OS-based secure storage. |
Delete the credentials file from the
Note:
When you delete the existing credentials file, previously configured authentication IDs will be lost. When you re-authenticate, a new credentials file and passkey will be generated, and the passkey will be stored in the secure storage. |
Credentials passkey could not be retrieved from the secure storage. Try deleting the current credentials file {0} and setting up your account again. |
There was a problem in retrieving the passkey from secure storage. |
Delete the credentials file from the
Note:
When you delete the existing credentials file, previously configured authentication IDs will be lost. |
The credentials passkey set in the environment variable {0} must be between 32 and 100 alphanumeric characters. |
The passkey provided in the environment variable does not meet the required criteria. |
Specify a passkey that contains 32 to 100 alphanumeric characters. |
The credentials passkey set in secure storage must be between 32 and 100 alphanumeric characters. |
The passkey stored in the secure storage does not meet the required criteria. |
Delete the credentials file from the
Note:
When you delete the existing credentials file, previously configured authentication IDs will be lost. |
Execution Context Errors
Error Message |
Scenario |
Solution |
---|---|---|
The following environment variables are currently set: {0}. The operation you are trying to perform is not allowed with the current environment variable configuration. |
Your current setup does not meet the conditions for any of the valid execution contexts. For example, both |
Review the environment variable configuration for the execution context that you want to use and ensure that your environment is properly configured in the Execution Context for Secure Credentials Storage table. |
In the current execution context, you can perform only machine-to-machine authentication or operations that do not require authentication. |
Only the |
If you want to use machine-to-machine authentication (CI/CD), set the If you want to use browser-based authentication, remove the |
Machine-to-machine authentication is not allowed for the current execution context. |
You are trying to run machine-to-machine authentication, but the required environment variables are not properly configured. |
Ensure that the following environment variables are set:
|
Browser-based authentication is not allowed for the current execution context. |
The |
Remove the |
Secure storage is available, but the |
The |
Remove the |