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'.formstack.com/forms/'formname'_scoping_v50 
?OppID={!Opportunity.Id} 
&AcctID={!Opportunity.AccountId} 
&ContactID={!Contact.Id} 
&First+Name={!Contact.FirstName} 
&Last+Name={!Contact.LastName} 
&Title={!Contact.Title} 
&Email={!Contact.Email} 
&Phone={!Contact.Phone} 
&Company={!Account.Name} 
&AcctNameOrig={!Opportunity.Account} 
&OwnerID={!User.Id} 
&Engagement+Focus={!Opportunity.Scoping_Sections__c} 
&Web+Application+name(s)={!Opportunity.SVC_WAPT_NAME__c} 
ShashankShashank (Salesforce Developers) 
You may have to reach out to formstack support for this: https://support.formstack.com/