Boban Dragojlovic
10/24/2024, 4:46 PMCeligo AI
10/24/2024, 4:46 PMAI generated answer (using internal Slack threads):Based on the conversations, the error
AN_ERROR_OCCURRED_WHILE_DECRYPT_PASSWORDGUID
typically occurs when there is an issue with the GUID or API secret used in the crypto.createDecipher()
function in SuiteScript. This error can also occur when trying to establish a secure FTP connection or when trying to encrypt and decrypt field values in SuiteScript 2.0.
Here are some suggestions to resolve this issue:
1. Ensure that the GUID or API secret is valid. An invalid GUID or API secret can cause this error.
2. If you are new to NetSuite and encountering this error while trying to establish a secure FTP connection, consider looking for Secret Keys in SuiteAnswer. It might be easier to create the SFTP connection this way.
3. If you are trying to encrypt and decrypt field values in SuiteScript 2.0, make sure you are using the correct GUID. You can generate your own GUID using either the Secrets Management or Secret Keys Fields options in NetSuite.
4. Be aware of the difference between a password/passphrase and the key. The example provided by NetSuite that uses UTF-8 as an encoding is not typical. AES keys do not represent plain text, so using UTF-8 encoding might be incorrect.
5. If you are using Secrets Management and still encountering the error, ensure that you are inputting the key into NetSuite correctly. If your code hasn't changed, the issue might be with how you are inputting the key.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
10/24/2024, 4:46 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.853938103
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815696955
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.811344564
Celigo AI
10/24/2024, 4:46 PM