We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 874bf73 commit e06c9afCopy full SHA for e06c9af
quickbooks/client.py
@@ -343,6 +343,9 @@ def handle_exceptions(results):
343
except ValueError:
344
code = 0
345
346
+ if code == "" and "statusCode: 401" in detail:
347
+ raise exceptions.AuthorizationException(message, 401, detail)
348
+
349
if 0 < code <= 499:
350
raise exceptions.AuthorizationException(message, code, detail)
351
elif 500 <= code <= 599:
0 commit comments