I’m trying to Route to Twilio but keep getting the error:
error building route request: error validating twilio message: %!w()
The first part of the message makes me believe that the problem is in the build but the second part makes me believe that there is a problem with the SID or Token.
I believe I have the initial Route Information filled out correctly. I have static From and To numbers.
My JSONata is:
{
“body”: {
“customMessage”: body.vehicle_name & " is " & body.motion & ": " & “Latitude and Longitude Finder on Map Get Coordinates” & $string(best_lat) & “&long=” & $string(best_lon)
}
}
Edit: I commented out the url in the message and got the same result.
I’ve tried keys “text” and “twilioBody” that I found in the forum. I must be doing something wrong. Any Ideas?
Thanks,
Joe