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

Exception raised when retrieving projects list as an Anonymous user #2082

Closed
DavisRayM opened this issue May 21, 2021 · 0 comments · Fixed by #2084
Closed

Exception raised when retrieving projects list as an Anonymous user #2082

DavisRayM opened this issue May 21, 2021 · 0 comments · Fixed by #2084

Comments

@DavisRayM
Copy link
Contributor

DavisRayM commented May 21, 2021

Environmental Information

  • Onadata version: v2.5.5

Problem description

As an anonymous user trying to retrieve a list from https://stage-api.ona.io/api/v1/projects.json returns a 500 response.

Expected behavior

The application should not return a 500 code instead it should return a list of all the public projects

Steps to reproduce the behavior

  • Access the /api/v1/projects.json endpoint as an unauthenticated user

Additional Information

Sentry error: https://sentry.onalabs.org/ona/onadata/issues/90673/?query=is%3Aunresolved%20url%3Ahttps%3A%2F%2Fapi.ona.io%2Fapi%2Fv1%2Fprojects.json

Logs, related issues, weird / out of place occurrences, local settings, possible approach to solving this...

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

Successfully merging a pull request may close this issue.

1 participant