• DOCUMENTATION
  • WORKATO BLOG
  • PRODUCT BLOG
  • Return to Workato
  • Log in
  • ☰
  • Community/Discussions
Solution home Troubleshooting Salesforce

Salesforce Error: Input required for field or Required field missing

Modified on: Tue, Sep 27, 2016 at 9:51 PM

Error: 

"Input required for field #{field_name}"

"Required field missing"

Salesforce requires that certain fields be mandatory. For example, if you are creating contacts, last name is mandatory. Workato will impose the same requirements for data that is being created or updated. 



 
What does this mean?: 

The reason you will get this error could be because 
1. you have not mapped any value to this field or 
2. the value that was passed to the recipe was blank.

To check for 1, open up the job in job history and check to see if you can find the field. If you can find it then the mapping exists. If the value is blank, then the mapping is wrong or the value that is passed in was blank.

Resolution: 
 
Once you have determined the cause for the error, open up the recipe and make the required changes.

Sometimes the value may not be present and you can just add some alternate values:

Here are some examples


In this example, regardless of the value of description, there will be some value that will be there.


This example shows, how you could pick values from one of two sources. The first one from a successful search, and the second one from a created record if the search failed.


In this example, it use the value from the first email input if it is present, otherwise it gets it from the second input.



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.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

Related Articles

    Still can't find your solution?

    Visit our forums to search for answers, or post your own questions.

    Documentation
    Developer's Library
    Tutorials
    eBooks
    Product Hour
    Product Blog
    Workato Blog
    Product updates
    Customer Stories
    © Workato 2020   Privacy   Terms   +1 (844) 469-6752
    • Documentation
    • Workato Blog
    • Product Blog
    • Solutions
    • Forums
    • Tickets
    • Log in
    • Return to Workato