Unable to Update / Delete a contact

Participant

Unable to Update / Delete a contact

Hai friends,

I am Getting an error while Updating / Deleting a contact in ASP.Net 2.0 with Code Behind C#.Net.

Error Details :

Error # : 415
Error Message : Un Supported Media Type

I followed the code cited in the below link
http://developer.constantcontact.com/node/112

I appreciate you any help in providing .NET working sample code files.


Thanks,
Kishore
1 REPLY 1
Moderator

Hi Kishore,

Is there any chance you can post your modified code on the developer forums? I did not put in the full XML string into the sample files, mostly because there are dozens of ways to put together the XML for the various HTTP requests. There are two main reasons why you would receive a 415 error, see our Common Errors thread here.

Once you post your code, it will be easier to tell which reason you're receiving the error.
Dave Berard
Senior Product Manager, Constant Contact
Developer Portal

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

Visit Page