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

Handle badly formed UUIDs as 404s for ContentNodeTree endpoint #10999

Closed
sentry-io bot opened this issue Jul 20, 2023 · 1 comment · Fixed by #11009
Closed

Handle badly formed UUIDs as 404s for ContentNodeTree endpoint #10999

sentry-io bot opened this issue Jul 20, 2023 · 1 comment · Fixed by #11009
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Jul 20, 2023

ValueError: badly formed hexadecimal UUID string

Sentry Issue: KOLIBRI-BACKEND-2BK

ValueError: badly formed hexadecimal UUID string
(22 additional frame(s) were not displayed)
...
  File "uuid.py", line 177, in __init__
    raise ValueError('badly formed hexadecimal UUID string')
@rtibbles
Copy link
Member

The events linked here also point to the fact that our facility_id filter for the FacilityDatasetViewset is badly implemented, and is not properly validating the facility_id value before putting it into a queryset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant