Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Could not parse Assignment Instruction response as JSON. Ensure your JSON is not escaped



WARNING: 40001

warning-40001 page anchor
TASKROUTER
WARNING

Example

example page anchor
Valid JSON (Not Escaped)
valid-json-not-escaped page anchor

_10
{
_10
"instruction": "call",
_10
"from": "+15558675309",
_10
"url": "http://example.com/agent_answer",
_10
"status_callback_url":
_10
"http://example.com/agent_answer_status_callback"
_10
}

Invalid JSON (Escaped)
invalid-json-escaped page anchor

_10
{\r\n \"instruction\": \"call\",\r\n \"from\": \"+15558675309\",\r\n \"url\": \"http:\/\/example.com\/agent_answer\", \r\n \"status_callback_url\":\r\n \"http:\/\/example.com\/agent_answer_status_callback\"\r\n}

Possible Causes

possible-causes page anchor

JSON is escaped

Ensure your JSON is not escaped


Rate this page: