Error in code task | XM Community
Skip to main content

Error in code task

  • June 29, 2022
  • 1 reply
  • 110 views

Forum|alt.badge.img

I'm currently trying to pipe the raw results from a webservice to a code task. The task gets the data correctly, but when I attempt to parse it, the code task workflow returns an error:
{
"name": "Something went wrong on our end. Please try again or contact customer support.",
"message": "Invalid or unexpected token",
"needRetry": true
}
Now obviously this isn't a helpful message. I don't know which token is invalid because there isn't enough information to understand what is happening. Thoughts?

1 reply

Forum|alt.badge.img
  • Author
  • 5 replies
  • June 29, 2022

One other piece of information, when I run the test with the result directly from the code task, it works with no issues.


Leave a Reply