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.

Error from API docs page

Highlighted
Occasional Participant

Error from API docs page

on page

https://constantcontact.mashery.com/io-docs

I generated an access token and then tried "get account summary" call.

And I get back

 

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

 

What does that mean?

2 REPLIES 2
Highlighted
Employee

Re: Error from API docs page

Hi Daws,

 

It sounds like your API key either 1) wasn't included in the request--as long as you saw it in the API Key field in IO Docs, that probably wasn't the case, 2) the key hadn't populated to our database yet--it takes up to 15 minutes for that to happen, or 3) the key isn't in active status yet.

 

If it was #3, or you're having trouble figuring out the issue, feel free to email us at webservices@constantcontact.com with your API Key so that we can check its status and update it if necessary.

 

Best Regards,

Shannon Wallace

Partner API Support Engineer

Highlighted
Occasional Participant

Re: Error from API docs page

Thanks. It was <15 minutes from creating the api key to trying to use it.  I'll try again shortly.

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