Question
Why does the Dynamic campaign API to add a record to a campaign respond with a 400 status code and message Invalid customer provided, customer, is wrong or in DNC list when attempting to add a record to a campaign? Example Response body
[
{
"customer-id": "10000001",
"http-status": "400",
"message": "Invalid customer provided, customer, is wrong or in DNC list."
}
]Applies To
8x8 Contact Centre
Dynamic campaign API
Answer
This can be because the record's telephone number is on a Do Not Call list that the campaign is configured to check.
For example, in Configuration Manager, Campaigns, Search/Filter, the Check Do Not Call lists option is enabled, and the customer's telephone number is registered on the selected list.
This can also occur if the Outbound Setup doesn't have a Voice field configured.
This can be found in Configuration Manager, Outbound Setup, CRM Objects.
Additional Information
The Check Do Not Call lists option can not be modified for a campaign once it has been started; a new campaign would need to be created.
Check Do Not Call lists options:
UK - Telephone Preference Service (TPS)
UK - Corporate Telephone Preference Service (CTPS)
The Telephone Preference Service has a page where you can check if a number is registered with them
Outbound Setup Documentation
Configure the dialer > Step 3: Configure the outbound setup > Define CRM objects and add fields