megaphone
SuiteWorld 2026 registration is now open—save $300 Register now
Update your Profile with your Support type to get your Support Type badge.
Nominate Your Peers for NetSuite Support Community's Choice of the Quarter! Submit your nomination today.
Stay in the know of how NetSuite can help grow your business with our guides, webinars, and events. Subscribe Here
What Topic Should We Cover Next? Your idea could be our next feature—drop your suggestion now!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
What if your ERP could help surface the next step before you go looking for it? Watch here to learn more!

My Stuff

Review our AI Community Guidelines before posting AI-generated or AI-assisted content. Verify accuracy and include the appropriate AI disclaimer.

DavidMa Red Ribbon

Comments

  • @"Robert Nedelkow-Oracle", the answer provided in SuiteAnswer is exactly what is in the sample code. But still getting the error `AN_ERROR_OCCURRED_WHILE_DECRYPT_PASSWORDGUID`.
  • Has anyone actually gotten secrets to work in NetSuite? I've tried the basic SuiteScript example from the crypto module that should run as is, but also get the error (AN_ERROR_OCCURRED_WHILE_DECRYPT_PASSWORDGUID). /** * @NApiVersion 2.x * @NScriptType Suitelet */ define(['N/ui/serverWidget', 'N/runtime', 'N/crypto',…