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.

Random 401 unauthorized

Highlighted
Visitor

Random 401 unauthorized

I am using the V2 .Net dll and I will get an unauthorized error several times in a row and if I wait a couple of minutes I can retrieve and send data and then after a while it will revert back to returning an authentication 401 error for a while and then ultimately it will begin to work again

I can see that the api key and key are correct and that the url is formed properly

Is this a server issue or does it have to do with the status of our account?

 

 

1 REPLY 1
Highlighted
Moderator

Re: Random 401 unauthorized

Hello,


Thank you for reaching out to Constant Contact API Developer Support.

 

The likely cause of your issue is that you are going over your calls per second rate limit. Our standard API access limit is 10,000 calls per day and 4 calls per second. If you make more than 4 calls per second, any additional calls will return with a 401 error until after 1 second after the first call was attempted.

 

Please let me know if you have any other questions!

 

Regards,
David B.
Tier II API Support Engineer

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