when we get a response that is valid json, but has an error code, we now treat it as an error