Got a 'How do I' question? Join 'Ask a Trainer' Monday to Friday, 11am to 4pm ET for instant help and pro tips!

Getting ERR_403_DEVELOPER_INACTIVE error when I post using Fiddler

SOLVED
Go to solution
DavidZ918
Campaign Collaborator
0 Votes

I am able to use my code to call the addcontacts post method. It works fine for a single post but i am having an issue with posting a certain set of emails and I am trying to work out what the error is. I thought it would be easier if I use a client tool like Fiddler2 which I have used on many ocasions in the past. However when I try I get the error ERR_403_DEVELOPER_INACTIVE. The text view associated with this is:

 

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

 

However when I log into Mashery everything looks fine. As I said  am able to post via my code.

 

Any thoughts?

 

Thanks

 

Davdi

1 ACCEPTED SOLUTION
DavidZ918
Campaign Collaborator

OK, I think I have worked out how to do it in  Fiddler2

 

I set the URL to 

 

https://api.constantcontact.com/v2/activities/addcontacts?api_key=XXXX

 

and put the following in the headers

 

Content-Type: application/json
Authorization: Bearer XX-Access Token-XX

 

View solution in original post

3 REPLIES 3
Elijah_G
Marketing Legend
0 Votes

Hi David,

 

Based on what you're describing, it sounds like the api_key URL parameter on your request is either missing or malformed. It is important to make sure that the api_key URL parameter is always included in every request. If the parameter is missing, then you will receive this error message informing you that it was not able to verify that you have a valid API key.

 

As an additional note, you can also receive this message if you have not verified the email address that was used to create your Mashery developer account.

 

If you have any questions, please let us know!

 

Best Regards,

Elijah G.
API Support Engineer
DavidZ918
Campaign Collaborator
0 Votes

Thanks,

 

When I put the api key in the url I get a 401 error:

 

https://api.constantcontact.com/v2/activities/addcontacts?api_key=XXXX

 

If I put the api key in the headers I get the developer in active error

 

api_key: XXXXX

 

Am I supposed to put the access token in the headers too?

 

Thanks

 

David

DavidZ918
Campaign Collaborator

OK, I think I have worked out how to do it in  Fiddler2

 

I set the URL to 

 

https://api.constantcontact.com/v2/activities/addcontacts?api_key=XXXX

 

and put the following in the headers

 

Content-Type: application/json
Authorization: Bearer XX-Access Token-XX

 

Resources
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up