Resolve Aconcagua gulp theme error SSS_Invalid_Scriptlet_ID

There might be instances where the Customer would encounter the error, 404 – {“error”:{“code”:”SSS_INVALID_SCRIPTLET_ID”,”message”:”That Suitelet is invalid, disabled, or no longer exists.”}} while doing a gulp theme:deploy.

Below are the steps to resolve the issue:

A. Edit the custom SCDeployer role with the following permissions:

  • To edit the SCDeployer role, navigate to Setup > Users/Roles > Manage Roles > Edit custom SCDeployer role.
    • In the Permission sub tab > List sub list
      • Custom Record Enteries [Full]
      • Documents and Files [Full]
      • Website (External) publisher [Full]
    • In the Permissions sub tab > Setup sub list
      • Allow JS / HTML Uploads [Full]
      • Custom Lists [Full]
      • Set Up Web Site [Full]
      • SuiteScript [Full]
      • Web Services [Full]
    • In the Permissions sub tab > Custom Record sub list
      • SC ExtMech Activation [Full
      • SC ExtMech Custom Skin [Full]
      • SC ExtMech Extension [Full]
      • SC ExtMech Extensions Active [Full]
      • SC ExtMech Skin Preset [Full]
      • SC ExtMech To Process [Full]

B. Add the custom SCDeployer role as Audience under following scripts:

  • customdeploy_ns_sca_deployer_aconcagua
  • customdeploy_ns_sc_ext_mech_services
  • customdeploy_ext_mech_web_service_rest
  • customdeploy_ext_mech_emb_endpoints
  • customdeploy_ns_sc_ext_mech_restlets

C. After editing the SCDeployer role and adding the role as Audience in the mentioned scripts, do the following steps:

  1. Download the ThemeDevelopmentTools-18.2.zip
    • Navigate to Documents > Files > File Cabinet > SuiteBundles > Bundle 248721
  2. After downloading the zip file, create a new folder for Theme Development Tools in your local drive
    • Do an npm install in the root folder for Even though the theme is of the same name, the changes will need to be activated first
  3. Do a gulp theme:fetch in the command prompt to get the active theme
  4. After doing the gulp theme:fetch, do a gulp theme:deploy –advanced in the command prompt
    • The gulp theme:deploy –advanced command deploys as an update of the current custom theme, but resets the prompts regarding the Vendor Name, Theme Name, Theme Version, Description, and Application
      • This command also rewrites this information in the theme’s manifest.json file
    • This command only takes effect on custom themes
  5. To check if the changes did reflect successfully, do some minor changes in the code
  6. After doing the minor change/s, do a gulp theme:deploy with the SCDeployer role
  7. Navigate back to the Extensions Manager and activate the Theme you just deployed
  8. Do a Cache Invalidation Request for the domain
  9. Use a Guest Window and/or Clear the browser cache
  10. When re-deploying the theme, reconnect the Extensions Manager again

Leave a comment

Your email address will not be published. Required fields are marked *