Error in code task | XM Community
Skip to main content

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?

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