instead of "error_response" being a boolean, have it be the actual http status code
instead of "error_response" being a boolean, have it be the actual http status code