Malformed ID
MALFORMED_ID
This error occurs when an invalid Salesforce record ID is provided. IDs must be 15 or 18 characters and match the expected format for the object type.
Common Causes
- •Invalid record ID format
- •ID from wrong Salesforce org
- •Truncated or corrupted ID
- •Wrong object type for the ID
Traditional Troubleshooting
1
Verify the ID is 15 or 18 characters
2
Check if the ID is from the correct org
3
Ensure the ID hasn't been truncated
4
Verify the ID matches the object type
5
Regenerate the ID from the record
Solve with Clientell
Instead of manually troubleshooting, use Clientell to instantly identify and fix this error:
I was running an API call using record ID ‘0067A0000XYZ123’ and got a ‘MALFORMED_ID’ error. Check what’s wrong with this ID and whether it exists in the org.