Error:
Invalid Salesforce ID value(s) for: <x>
400 Bad Request: [{"message":"<x>: id value of incorrect type:YouTest","errorCode":MALFORMED_ID","fields":["<x>""]}]
What does this mean?:
The error happens when a field that was expecting a Salesforce ID was given some value that does not represent a Salesforce object ID. This will occur also when you use the wrong ID from the wrong object. Example from the screenshot : The action is requesting for an OwnerID, but IDs coming from other application or ID from other object such as an AccountID will not work for this case.
Here is another similar case of error with a Search object action. When I have an incorrect ID in the field, it throws a data error mentioning that the search query was not processed because of invalid input.
Resolution:
If you see either of these errors, it means that the field is expecting a Salesforce ID, and not anything else. The correct resolution is to put in an actual Salesforce ID that matches the field.
Once you have made the change, save the recipe, and simply re-run the job.
The same issue can happen to any other apps as well. Always make sure that when the field expects an ID, it is provided with the correct ID from the same application.
Have a question? Join our bi-weekly Expert Hour to get help from our Experts. Alternatively, you can find similar questions in our Q&A (Recipe Errors) Forums or Start a New Topic.