Fixing an issue where, with an non 200 response code, we try to reference an undefined variable.