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 401 Unauthorized Access error while trying to change application to use Basic authentication over https

Highlighted
Regular Participant

Getting 401 Unauthorized Access error while trying to change application to use Basic authentication over https

Hi All,


As per the recent notification about changes required in applications to use Basic Authentication over https instead of Digest authentication, while I'm trying to change my application code in HttpWebRequest to use "Basic" authentication over https (by changing all api URLs to 'https' from http) I'm getting 401 Unautorized access error.


If I change URL to http and authentication type to 'Digest' it works without any other change.


Please let me know what's the problem with the authentication process or if its still not activated and only Digest authentication is working right now.


Regards


Akhilesh

4 REPLIES 4
Highlighted
Moderator

Hi Akhilesh, Basic

Hi Akhilesh,


Basic Authentication has been active for almost 3 months now.  You should be able to use it without problem once you convert your code to encrypt using Basic Authentication over SSL.  

Dave Berard
Senior Product Manager, Constant Contact
Highlighted
Regular Participant

Still no luck.

Hi Dave,


My Code is in .net and I think I have made all the required changes.  If I post my code here will you be able to tell me If I'm missing anything?


Regards


Akhilesh

Highlighted
Regular Participant

Hi Dave, Few things are still

Hi Dave,


Few things are still not clear.  You have mentioned "using Basic Authentication over SSL"


Does this means that the application where we using this code should also be hosted and run from "https" ? If yes then how we can test the same in development environment as here we do not have SSL implemented and applications run with http only.


Another concern is what if we are using the same in a windows application? How to use SSL in windows application?


Regards


Akhilesh

Highlighted
Occasional Participant

No credentials available for BASIC 'api.constantcontact.com'@api

Hello Akhilesh and Dave,


I'm having similar problem and posted my question here: http://developer.constantcontact.com/node/541


I think, I have little more information there which can help us to resove this issue.


Thanks,


 


Mike

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