Skip to content
New issue

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

AttributeError: 'NoneType' object has no attribute 'user_type' #2381

Closed
sentry-io bot opened this issue Aug 21, 2024 · 0 comments · Fixed by #2382
Closed

AttributeError: 'NoneType' object has no attribute 'user_type' #2381

sentry-io bot opened this issue Aug 21, 2024 · 0 comments · Fixed by #2382
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Aug 21, 2024

Sentry Issue: CARE-F9Z

AttributeError: 'NoneType' object has no attribute 'user_type'
(9 additional frame(s) were not displayed)
...
  File "care/facility/api/viewsets/patient_consultation.py", line 115, in create
    return super().create(request, *args, **kwargs)
  File "care/facility/api/serializers/patient_consultation.py", line 629, in validate
    not validated["treating_physician"].user_type
@github-project-automation github-project-automation bot moved this to Triage in Care Aug 21, 2024
@rithviknishad rithviknishad moved this from Triage to Review required in Care Aug 21, 2024
@github-project-automation github-project-automation bot moved this from Review required to Done in Care Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant