NetSuite SuiteCommerce Advanced UPSERTLIST error upon deploy (Workaround)

I’ve been working on building SuiteCommerce Advanced sites recently, and I have run into the following error when deploying on two sites


I have only seen this (so far) on the Vinson release of SCA, but I’m also fairly new to the environment, so this could be a problem on Mont Blanc or Denali as well. Changing things that I would think could help (e.g. deploying only images) doesn’t seem to make a difference. However, this seems to happen more often with a new deployment, which would make sense, as many things are changing at once in that case.

Following is the workaround that has consistently fixed the issue for me:

  1. Immediately after the aforementioned error is returned, navigate to the root directory of the project and zip up the DeployDistribution folder.
  2. Once this is complete, open the archive to make sure that the root of the zip file contains all of the different folders and files that you expect to be deployed. That is, there shouldn’t be a DeployDistribution subfolder inside of the zip file:

    Bad zip file  Good zip file

  3. In NetSuite, open the file cabinet, and navigate to the root of the SSP Application you are attempting to deploy.
  4. Click the Advanced Add button at the top of the window, choose the zip file you created in step 1, check UNZIP FILES and OVERWRITE FILES WITH SAME NAME, ensure your DESTINATION FOLDER is correct, and click the Add button.
  5. This should add all new files to be deployed and overwrite existing ones. This, however, will not delete any files from the deployed environment.
  6. Now, if you load your site, you should see your changes.
  7. If you run another gulp deploy, you should be able to successfully publish.

I hope this helps you get back on track, and I will keep investigating the root cause of this issue. Let me know in the comments if this helped, didn’t help, or if you know how to address the actual issue. Thanks!

Leave a Reply

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

8 × = sixteen

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">