alialjohani | 2018-11-01 12:24:01 UTC | #1
Hello Everyone,
I am not sure what is going wrong when I want to create/run a campaign.
{ "name": "AgentID", "version": 0, "contactList": { "id": "dd48e4da-c13f-48cb-b098-4dca84f8ea5b", "name": "", "selfUri": "" }, "queue": { "id": "1ed9436f-4eac-4b4b-b668-a9d9ce23bfaf", "name": "", "selfUri": "" }, "dialingMode": "progressive", "script": { "id": "55133975-3f5e-4a42-8660-00931799fe65", "name": "", "selfUri": "" }, "edgeGroup": { "id": "e902f347-bd8e-4016-afc0-260685be710d", "name": "", "selfUri": "" }, "site": { "id": "", "name": "", "selfUri": "" }, "campaignStatus": "on", "phoneColumns": [ { "columnName": "mobile", "type": "cell" } ], "abandonRate": {}, "dncLists": [ { "id": "", "name": "", "selfUri": "" } ], "callableTimeSet": { "id": "", "name": "", "selfUri": "" }, "callAnalysisResponseSet": { "id": "c7c20c04-0483-4a33-ae08-9491aafd5509", "name": "", "selfUri": "" }, "callerName": "justtest", "callerAddress": "0114567890", "outboundLineCount": 1, "ruleSets": [ { "id": "", "name": "", "selfUri": "" } ], "skipPreviewDisabled": true, "previewTimeOutSeconds": 0, "alwaysRunning": true, "contactSort": { "fieldName": "", "direction": "", "numeric": true }, "contactSorts": [ { "fieldName": "", "direction": "", "numeric": true } ], "noAnswerTimeout": 0, "callAnalysisLanguage": "", "priority": 0, "contactListFilters": [ { "id": "", "name": "", "selfUri": "" } ] }
This is the error I receive: { "status": 400, "code": "bad.request", "message": "The request could not be understood by the server due to malformed syntax.", "contextId": "ada8a9f5-bd32-4476-8f2d-09352e83dd7f", "details": [], "errors": [] }
Best Regards, Ali
tim.smith | 2018-11-01 14:34:06 UTC | #2
The error is Can not deserialize instance of double out of START_OBJECT token. You have a JSON object where you should have a number somewhere in your request.
system | 2018-12-02 14:34:11 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 3876