AnsweredAssumed Answered

Creating new Campaign in MailChimp.

Question asked by anburaajaacse on Nov 13, 2017
Latest reply on Apr 25, 2018 by AndresLP

Hi All,

I have used a cURL to create a new campaign in Mailchimp. The code is given below.


Url —X POST --user 'somevalue:xxxxxxxxxxApikeyxxxxxxxxxxx-us16'--header 'content-type: application/json' --data '{"recipients":{"list_id":"5950d3cee7"},"type":"regular","settings":{"subject_line":"Test Receipt","reply_to":"","from_name":"Customer Service"}}'


When I run this URL it produce the below error.


{"type":"","title":"Wrong Datacenter","status":403,"detail":"The API key provided is linked to a different datacenter","instance":"7dd2a2a9-6473-4e52-9673-f4cba87b19ea"}

But, I have used valid Apikey. The same coding, working properly in Terminal.

Please help me to sort out this issue in FM.



Thanks in Advance,