The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Getting 400 Bad Request received while adding email campaign

Highlighted
Occasional Visitor

Getting 400 Bad Request received while adding email campaign

I downloaded the demo code for c# .net using this website, then i setup API key,username,password in the web.config,and when i tried to add a campaign then i got 400 Bad request error..

1 REPLY 1
Highlighted
Employee

Re: Getting 400 Bad Request received while adding email campaign

Hello Apurva,

 

Typically, a 400 error indicates that the XML file contains information that isn’t formatted correctly.  Could you please paste the contents of your XML file in a reply to this post?

 

Thanks in advance.

Matt R.
Support Engineer, Constant Contact
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured