Error: Error calculating input for field, String can't be coerced into Fixnum
What does this mean?:
This occurs when you try to use "+" in a field using formula mode when the first pill is a number. For example, you have the formula below. You want the Job URL to be one line after the Job ID, so you try to add "\n" to add another line. However, because Job ID is a number, it takes the "+" as a numeric operator, and when the formula tries to add a number to a string, it will fail and give an error. Its like how in arithmetic math you can't get an answer from "1 + a"
Solution:
Convert the pill that is affecting the formula to a string by using the .to_s function.
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.