You need to sign in to do that
Don't have an account?
Karen Wheeler
malformed ID in contact upsert
I'm getting a Malformed ID on a contact upsert where the SalesForce ID for the contact is correct. Any suggestions on what I can check to QA this problem? It is not a "one off" - I got this error on 168 records. Thanks for any help. This is a standard Apex upsert.
Hi Wheeler,
While you are Upserting the records,
An ID must be either 15 characters, or 18 characters with a valid case-insensitive extension.
In detail
If you need to match the Records with ID (mostly) while doing this you miss any characteristics of ID like Number of digits and case sensitivity then these type of error will occur.
Please check the formation of ID where you are upserting.
Thanks,
Arvind Kumar
Read the below link,
https://help.salesforce.com/articleView?id=000232388&type=1
Thanks,
Arvind Kumar