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
1
{
2
"instruction": "call",
3
"from": "+15558675309",
4
"url": "http://example.com/agent_answer",
5
"status_callback_url":
6
"http://example.com/agent_answer_status_callback"
7
}
Invalid JSON (Escaped)
invalid-json-escaped page anchor
{\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: