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

Error in legacy directory API when looking up 'undefined' providers #459

Open
sentry-io bot opened this issue May 5, 2023 · 0 comments
Open

Error in legacy directory API when looking up 'undefined' providers #459

sentry-io bot opened this issue May 5, 2023 · 0 comments
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented May 5, 2023

Sentry Issue: ADMIN-PORTAL-R7

ValueError: invalid literal for int() with base 10: 'undefined'
  File "django/db/models/fields/__init__.py", line 1823, in get_prep_value
    return int(value)

ValueError: Field 'id' expected a number but got 'undefined'.
(17 additional frame(s) were not displayed)
...
  File "apps/greencheck/api/legacy_views.py", line 139, in directory_provider
    provider = Hostingprovider.objects.get(pk=id)
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

No branches or pull requests

1 participant