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.

On bulk upload I got error for API key

Occasional Contributor

On bulk upload I got error for API key

During integration of bulk upload through file I got invalid API key error, but it is valid API key and got error below.


I am getting stuck here. Please help for option upload bulk contacts with file and without file.


Fatal error: Uncaught exception 'Ctct\Exceptions\CtctException' with message '[{ "error_key":"mashery.not.authorized.inactive", "error_message":"The Mashery account associated with this request is not active, or an invalid API key was used." }]'


Re: On bulk upload I got error for API key

Can you share the code that is causing the problem?  This error should only occur if you're including an invalid API key, if you could email our support staff the actual API key which is causing the problem we can confirm that it is active.

Dave Berard
Senior Product Manager, 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