- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using the endpoint to create a campaign (https://v3.developer.constantcontact.com/api_reference/index.html#!/Email_Campaigns/createEmailCampa...) and when the campaign name already exists I get an error with no error_key and no error_message. I verified the error is name related because the http response that I am getting back is 409. Is this intended?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @RobertS0822,
Thank you for bringing this to our attention! The response is intended to include an error_key and error_message. I've reported this to our engineers, to be updated.
As you concluded, the 409 error response you received was due to your payload containing a name which was already in use by an existing campaign. As a general reference which may be useful to anyone that comes across this post, our documentation includes a glossary of HTTP response codes, which can be found here: https://developer.constantcontact.com/api_guide/glossary_responses.html
Regards,
Aarron G.
API Support Engineer
Did I answer your question? If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
