Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Unhandled exception if HTTP response does not contain expected JSON data #84

Open
mkgs opened this issue Nov 16, 2020 · 1 comment
Open
Labels
legacy Related to legacy, non-OpenAPI SDK

Comments

@mkgs
Copy link
Contributor

mkgs commented Nov 16, 2020

File "/app/.heroku/src/hellosign-python-sdk/hellosign_sdk/utils/request.py" in _check_error
  261.                 raise err_cls("%s error: %s" % (response.status_code, json_response["error_description"]), response.status_code)

Exception Value: 'NoneType' object is not subscriptable

HTTP error responses which do not contain json data trigger the above scenario.

@erosiec
Copy link

erosiec commented Nov 17, 2020

Thank you for bringing this to our attention. I see a ticket for this issue was submitted to the API Support team, so I will be following up with you directly there. I will leave this issue open while we review the underlying cause of this error.

Internal reference: 11616711

@jtreminio-dropbox jtreminio-dropbox added the legacy Related to legacy, non-OpenAPI SDK label Apr 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
legacy Related to legacy, non-OpenAPI SDK
Projects
None yet
Development

No branches or pull requests

3 participants