I mean, I'm thankful and all that the API call is working, but if I'm getting a spurious error message how am I to know how to handle the response programatically? Currently I'm doing this all in the name of testing. I started off using the IO/docs interface and all was well. Once I started integrating the same calls into my development site, I started seeing error responses like so: { ["headers"]=> array(7) { ["content-type"]=> string(16) "application/json" ["date"]=> string(29) "Sat, 05 Oct 2013 14:46:29 GMT" ["server"]=> string(13) "Mashery Proxy" ["x-mashery-error-code"]=> string(26) "ERR_403_DEVELOPER_INACTIVE" ["x-mashery-responder"]=> string(39) "prod-j-worker-us-east-1d-35.mashery.com" ["content-length"]=> string(3) "168" ["connection"]=> string(5) "Close" } ["body"]=> string(168) "[{ "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." }]" ["response"]=> array(2) { ["code"]=> int(403) ["message"]=> string(9) "Forbidden" } ["cookies"]=> array(0) { } ["filename"]=> NULL } Well, ok, so I've requested to send out a lot of emails so maybe my API access has been suspended...Mashery account is still valid, constant contact account is still valid and making the calls still works on the IO/docs interface. Then I looked at my campaigns in constant contact and lo and behold - they were there. So the request worked but the error was erroneous. What gives?
... View more