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: 'APIKeyUser' object has no attribute 'organisations' #3778

Closed
sentry-io bot opened this issue Apr 16, 2024 · 0 comments · Fixed by #3817
Closed

AttributeError: 'APIKeyUser' object has no attribute 'organisations' #3778

sentry-io bot opened this issue Apr 16, 2024 · 0 comments · Fixed by #3817
Assignees
Labels
api Issue related to the REST API bug Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 16, 2024

Sentry Issue: FLAGSMITH-API-4CH

AttributeError: 'APIKeyUser' object has no attribute 'organisations'
(6 additional frame(s) were not displayed)
...
  File "organisations/views.py", line 123, in projects
    organisation = self.get_object()
  File "organisations/views.py", line 97, in get_queryset
    return self.request.user.organisations.all()
@sentry-io sentry-io bot added api Issue related to the REST API bug Something isn't working labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant