When I use the code provided I get the following error: if e.status_code: ^^^^^^^^^^^^^ AttributeError: 'AttributeError' object has no attribute 'status_code' Any idea what that might be?
When I use the code provided I get the following error:
if e.status_code:
^^^^^^^^^^^^^
AttributeError: 'AttributeError' object has no attribute 'status_code'
Any idea what that might be?