Send back invalid token response when the response cannot be parsed

no quotes around `error`, please :)