Table of Contents
What does ID value of incorrect type mean in Salesforce?
If you are receiving the Salesforce Error “ID Value of Incorrect Type” this means that an ID being sent to Salesforce is not the correct type that Salesforce is expecting. For example, some fields in Salesforce can only accept certain ID types (e.g., Contact ID, Account ID, etc.).
Is there a fixed key prefix in Salesforce for custom objects?
There are a number of fixed key prefixes that are common across all of Salesforce. Custom objects get a unique key prefix per Org. I’d need to confirm this, but I’m fairly certain that Custom objects in managed packages can have a different keyprefix in each installed org.
Is Salesforce case sensitive?
While it helps other case insensitive applications handle the IDs Salesforce is still case sensitive and won’t auto correct the casing based on the suffix. E.g. the casing on a KeyPrefix is important with 00t being OpportunityShare and 00T being Task.
How do I find the source of an error in Salesforce?
At the top right of your Salesforce Connector choose Go to… and then select Salesforce Objects Reference. Next, find the object that is listed as the source of the error. For example, your error might read: “Create Attachment – Parent ID: id value of incorrect type.”
What does it mean when you get an error in Salesforce?
If you are receiving the Salesforce Error “ID Value of Incorrect Type” this means that an ID being sent to Salesforce is not the correct type that Salesforce is expecting.
What to do if your error message is only showing one ID?
If your error message is only showing one ID (For example, “2.1. Create Attachment – Parent ID : id value of incorrect type: 00P41000005zgucEAA”) the best first step is to look at your Salesforce Objects Reference.