A typical failed JSON response for when the API key is invalid:
{ 'msg':'Invalid API key', 'result':'error' }