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_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.
Solved! Go to Solution.
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!
When I put the api key in the url I get a 401 error:
If I put the api key in the headers I get the developer in active error
Am I supposed to put the access token in the headers too?
OK, I think I have worked out how to do it in Fiddler2
I set the URL to
and put the following in the headers
Authorization: Bearer XX-Access Token-XX