On bulk upload I got error for API key


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." }]'


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