Skip to main content
Avalara Help Center

How do you resolve the error "An unexpected SuiteScript Error has occurred" when accessing AvaTax configuration in NetSuite?

Overview

When you go to the Setup/Configuration in NetSuite you receive an error. "An unexpected SuiteScript Error has occurred" and you are not able to continue or configure.

Environment

NetSuite Basic

NetSuite OneWorld

Resolution

  • For Avalara bundle v5.7 (OneWorld) & v6.6 (Basic) and newer:

    • Go to Customization > List, Records, Fields > Record Types > AVACONFIG > List > Edit

      • Uncheck 'Config flag' and click Save

      • You will now be able to access the Avalara configuration tab.

      • Re-enter your AvaTax account credentials and validate again.

      • Click 'Next' button to be redirect to configuration page.

        • All tax codes and item tax code assignments will remain in place.

      • Click 'Save'.

  • For Avalara bundle v5.6.2 (OneWorld) & v6.5.2 (Basic) and older: 

    • Go to Customization > List, Records, Fields > Record Types > AVACONFIG > List > Edit

      • Clear all characters from the 'Password' field and click Save.

      • You will now be able to access the Avalara configuration tab.

        • All tax codes and item tax code assignments will remain in place.

      • Re-enter your AvaTax account credentials and validate again.

  • Was this article helpful?