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

ValueError: Field 'id' expected a number but got '146we'. #2719

Open
sentryk8sonalabsorg bot opened this issue Oct 10, 2024 · 0 comments
Open

ValueError: Field 'id' expected a number but got '146we'. #2719

sentryk8sonalabsorg bot opened this issue Oct 10, 2024 · 0 comments

Comments

@sentryk8sonalabsorg
Copy link

Sentry Issue: [ONADATA-6KE]

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

ValueError: Field 'id' expected a number but got '146we'.
(21 additional frame(s) were not displayed)
...
  File "onadata/apps/api/viewsets/xform_submission_viewset.py", line 153, in handle_exception
    return super().handle_exception(exc)
  File "onadata/apps/api/permissions.py", line 548, in has_permission
    project = get_object_or_404(Project, pk=project_pk)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant