Legacy Dev Forum Posts

 View Only

Sign Up

Update Campaigns Error - The server encountered an unexpected condition which prevented it from fulfilling the request

  • 1.  Update Campaigns Error - The server encountered an unexpected condition which prevented it from fulfilling the request

    Posted 06-05-2025 18:32

    puneeth | 2024-10-03 12:25:38 UTC | #1

    Hi Team,

    We wanted are using the following JSON to update a campaign and the API returns a error. Could you please help solve this issue?

    Request JSON

    {
    	"abandonRate": 3.5,
    	"alwaysRunning": false,
    	"callerAddress": "+13129679711",
    	"callerName": "Beacon Funding",
    	"campaignStatus": "on",
    	"contactList": {
    		"id": "f912ca6a-5bfc-4b24-b19a-fda3d88c47ee",
    		"name": "Main Prospecting List - Towing, Landscaping",
    		"selfUri": "/api/v2/outbound/contactlists/f912ca6a-5bfc-4b24-b19a-fda3d88c47ee"
    	},
    	"contactListFilters": [
    		null
    	],
    	"dateCreated": "2024-09-25T15:05:07.740Z",
    	"dateModified": "2024-10-01T14:42:45.987Z",
    	"dialingMode": "power",
    	"division": {
    		"id": "0358e1e1-5d73-4e27-989b-528b16200164",
    		"name": "Home",
    		"selfUri": "/api/v2/authorization/divisions/0358e1e1-5d73-4e27-989b-528b16200164"
    	},
    	"dncLists": [],
    	"dynamicContactQueueingSettings": {
    		"sort": false,
    		"filter": "false"
    	},
    	"id": "38d9a598-141b-42fe-a8ad-e30e65246457",
    	"name": "GP- Towing, Landscaping",
    	"noAnswerTimeout": 44,
    	"outboundLineCount": 80,
    	"phoneColumns": [
    		{
    			"columnName": "Phone1",
    			"type": "Cell"
    		},
    		{
    			"columnName": "Phone2",
    			"type": "Home"
    		},
    		{
    			"columnName": "Phone3",
    			"type": "Work"
    		}
    	],
    	"previewTimeOutSeconds": 30,
    	"priority": 5,
    	"queue": {
    		"id": "2a7fdf29-981e-480d-9b88-81e22d480fb7",
    		"name": "Prospecting",
    		"selfUri": "/api/v2/routing/queues/2a7fdf29-981e-480d-9b88-81e22d480fb7"
    	},
    	"ruleSets": [
    		{
    			"id": "2ed8f090-b2d5-4bd9-b4ff-8f434a0bd390",
    			"name": "Check Account",
    			"selfUri": "/api/v2/outbound/rulesets/2ed8f090-b2d5-4bd9-b4ff-8f434a0bd390"
    		},
    		{
    			"id": "1dc887b8-a599-4be9-bed8-c9721b952004",
    			"name": "Update Call Count",
    			"selfUri": "/api/v2/outbound/rulesets/1dc887b8-a599-4be9-bed8-c9721b952004"
    		},
    		{
    			"id": "9f519402-d4e0-422c-aa32-1f017c37deab",
    			"name": "Outbound Caller ID",
    			"selfUri": "/api/v2/outbound/rulesets/9f519402-d4e0-422c-aa32-1f017c37deab"
    		},
    		{
    			"id": "acdc3d9d-94fa-4ef0-bdcc-5247540b0575",
    			"name": "Start Workflow - CRM Only",
    			"selfUri": "/api/v2/outbound/rulesets/acdc3d9d-94fa-4ef0-bdcc-5247540b0575"
    		}
    	],
    	"script": {
    		"id": "dfe1817e-a7b1-48db-91a1-db64ba945e66",
    		"name": "Sean's Outbound Script",
    		"selfUri": "/api/v2/scripts/published/dfe1817e-a7b1-48db-91a1-db64ba945e66"
    	},
    	"selfUri": "/api/v2/outbound/campaigns/38d9a598-141b-42fe-a8ad-e30e65246457",
    	"singleNumberPreview": false,
    	"skipPreviewDisabled": true,
    	"version": 6,
    	"callAnalysisLanguage": "en-US",
    	"callAnalysisResponseSet": {
    		"id": "c5b9feec-445e-46bf-b0e5-e441cd2989d1",
    		"name": "Predictive Calling w/Voicemail",
    		"selfUri": "/api/v2/outbound/callanalysisresponsesets/c5b9feec-445e-46bf-b0e5-e441cd2989d1"
    	},
    	"callbackAutoAnswer": "false",
    	"contactSorts": [
    		{
    			"direction": "ASC",
    			"fieldName": "LastCallDate",
    			"numeric": "false"
    		},
    		{
    			"direction": "ASC",
    			"fieldName": "LastCallInteractionDate",
    			"numeric": "false"
    		}
    	],
    	"dynamicLineBalancingSettings": {
    		"enabled": "false"
    	},
    	"site": {
    		"id": "7b6d949a-957f-4765-8c2c-3cf59e5fcc32",
    		"name": "Chicago",
    		"selfUri": "/api/v2/telephony/providers/edges/sites/7b6d949a-957f-4765-8c2c-3cf59e5fcc32"
    	}
    }

    Error Response

    {
      "message": "The server encountered an unexpected condition which prevented it from fulfilling the request.",
      "code": "internal.server.error",
      "status": 500,
      "contextId": "ebb396da-6fa0-4e2c-af14-42a6e2386514",
      "details": [],
      "errors": []
    }

    Regards, Puneeth


    John_Carnell | 2024-10-03 13:00:34 UTC | #2

    Hi Puneeth,

    You will need to open a ticket with our Care support group. A 500 error message indicates an internal service error with the service being called and Care will need to work with the engineering team to figure out what happened.

    Thanks, John Carnell Director, Developer Engagement


    puneeth | 2024-10-03 13:13:10 UTC | #3

    Hi John,

    Thank you! I will pass this on to my team.

    Thank you, Puneeth


    system | 2024-11-02 13:13:21 UTC | #4

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 29679