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

Generic Error: Exception: Error calculating input for field 'title': Formula received a nil value: undefined method `+' for nil:NilClass

Modified on: Mon, Apr 24, 2017 at 12:33 PM

Error: 

Exception: Error calculating input for field 'title': Formula received a nil value: undefined method `+' for nil:NilClass


What does this mean?: 

What this implies is that in one of the step's field, there lies a formula mode value that has caused the recipe to fail. Most of the time this happens when you tried to have normal strings and selective edata pills (This OR that) together. Here's an example, and how to identify which step is throwing that error. (Note that Step 6 is not Step 8 in the next animation. If this is your first time attempting to identify an error, please check out this article on how to identify which step is throwing error.




When I go the step, I see that I am using a two data pills concatenated between two strings (A string is a normal sentence that is embodied within a double or single quotes in formula mode. Strings cannot be used for value, date, or boolean comparison, but can only be treated literary). By taking a look at the data pills, it may be that both data pills are empty for this particular record, and causes the formula mode to fail.


Solution: 

To fix this case, we need to ensure that either the logic always return a value, or makes sure that the data pill that I used will always return a certain value.




That's it! The most important thing would be to figure out if the formula mode done correctly. 



 

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