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
renato pisacanerenato pisacane 

MALFORMED_ID

I followed this exercise:https://www.youtube.com/watch?v=ocX7hEVt4xo&list=PLrC_ei2_Pv0GKrZr0Guoh-O2jbzzavSOP&index=4

This flow:https://resilient-impala-pp95zs-dev-ed.lightning.force.com/builder_platform_interaction/flowBuilder.app?flowId=301090000005XQNAA2

Why do you respond with this error? User-added image
SwethaSwetha (Salesforce Developers) 
HI Renato,
I see that you have passed value for Input variable {!curProject} as a random value(dbdf.....) . 

The error  "ID Value of Incorrect Type" means that ID being passed to the variable is not the correct type that Salesforce is expecting. For example, some fields in Salesforce can only accept certain ID types.

From the video I see a record Id starting with "a05" needs to be passed to the Input variable {!curProject} (Check 11:31 time on the video https://www.youtube.com/watch?v=ocX7hEVt4xo&list=PLrC_ei2_Pv0GKrZr0Guoh-O2jbzzavSOP&index=5).

Error should be fixed once the right Id is passed.

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you 
mukesh guptamukesh gupta
Hi Renato,

This error raised when mapping does not correct

Salesforce Error: 400 Bad request. errorCode: MALFORMED_ID. Wrong field is mapped

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh
renato pisacanerenato pisacane
Thanks for viewing but this does not solve the problem.
I don't understand where the mistake is.
which means is it : "Wrong field is mapped".
SwethaSwetha (Salesforce Developers) 
HI Renato,
Navigate to https://resilient-impala-pp95zs-dev-ed.lightning.force.com/a05 and pick one of the records and pass it to the {!curProject} variable in the flow. 

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you