We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISSUE:
try: response = auth_client.get_user_info() except ValueError: return HttpResponse('id_token or access_token not found.') except AuthClientError as e: print(e.status_code) print(e.intuit_tid) return HttpResponse(response.content)
Below is the fixed code for issue
_# if there is no response then it throws an error so we need to put a check here so that if there is no response we can return message_
try: response = auth_client.get_user_info() except ValueError: return HttpResponse('id_token or access_token not found.') except AuthClientError as e: print(e.status_code) print(e.intuit_tid) if response: return HttpResponse(response.content) else: return HttpResponse('Something Went Wrong!')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ISSUE:
Below is the fixed code for issue
The text was updated successfully, but these errors were encountered: