Based on the fact you are getting a 200 response, the file is successfully loading to the cloud, but the file is malformed in some way. Have you included in the first row, the column names, and do they match what is being expected in the portal?
If they do, then I would open a ticket with our Care team, refer to this post. They can then have the engineering group begin to look at it.
Thanks,
John Carnell
Manager, Developer Engagement
I just did a test with the Genesys Desktop UI, to see what requests it was sending (via Chrome Dev Tools - Network).
And I think there is possibly a problem with the description in the dev center page on Upload Contact Lists.
The information is accurate for Outbound Contact Lists. But i see a different body in case of DNC List.
Could you please try the following?
Assuming you have created your DNC List (Internal) with a single column for the phone numbers (I mean one number in this column, per row).
If you want to add/append numbers, your CSV file will also need to have a single column for the phone numbers.
The name of that column can be whatever you want, as it apparently needs to be sent in the request body (so that Genesys Cloud knows what column it has to read for phone numbers).
So let's say my column name in the CSV is "NewPhoneNumbers", the request body will be the following:
id: (the id of my dnc list)
file: (the content of my csv as binary)
fileType: dnclist
phoneColumns: ["NewPhoneNumbers"]
It is exactly what I am doing.
Respecting the name of the only column that has the phones, so that you can identify it. Then I specify the file type, the identifier of the dnclist and a csv that previously provided it manually on the purecloud page.
Jerome thanks for working through this. I am going to open a ticket with the dev team that owns this documentation, reference this thread and make sure they update the documentation.
Daniela: Sorry you had to go through this headache. I know how frustrating it can be when the documentation is incorrect.
Thanks,
John Carnell
Manager, Developer Engagement