Edited 500 and 401 errors to their correct meaning before these response status codes were reporting that the API key was invalid or missing, these are actually server side or auth issues
Issue # ENG-520
Describe your changes
Previously we were reporting to users that requests having 500 or 401 errors were due to a missing or invalid API key, this is wrong, I deduped this portion on code into response_status_exception(response) to give more accurate feedback on the error
Edited 500 and 401 errors to their correct meaning before these response status codes were reporting that the API key was invalid or missing, these are actually server side or auth issues
Issue # ENG-520
Describe your changes
Previously we were reporting to users that requests having 500 or 401 errors were due to a missing or invalid API key, this is wrong, I deduped this portion on code into response_status_exception(response) to give more accurate feedback on the error