function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sarah KalmbachSarah Kalmbach 

Salesforce error: ID in upsert is not valid

I have a button that creates a Formstack survey, allows a client to fill out information, then writeback to salesforce and updates fields. This has all worked very smooth until a few weeks ago when I started receiving this error:

There was an error creating Opportunity 1. Salesforce error: Id in upsert is not valid

I'm assuming this is in relation to the Opportunity ID but I have no idea how to fix this! Help!

The code for the buttom is as follows: 

https://'company name''formname'_scoping_v50 
ShashankShashank (Salesforce Developers) 
You may have to reach out to formstack support for this: