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.

401 Unauthorized

Occasional Visitor

401 Unauthorized

I downloaded the .NET ASP Contact Forms, migrated the project to VS 2012, added my APIKey, username and password to the web.config. When I compile I get a 401 Unauthorized. My account is a 60 day demo.


Re: 401 Unauthorized



401 Unauthorized may indicate that you are using a different URI than you should be.  If your username, password, and APIKey are all correct, can you make sure your username is also referenced in the URI you are trying to get/post/put/delete to?


Also, you may need to list your username as APIKey%username when you try to access your account.  Let me know if that helps.


Thank you for contacting Constant Contact, and have a wonderful day!


Best Regards,

Shannon W.

API Support Specialist

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