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

Projects endpoint broken #1518

Closed
WinnyTroy opened this issue Dec 10, 2018 · 2 comments · Fixed by #1530
Closed

Projects endpoint broken #1518

WinnyTroy opened this issue Dec 10, 2018 · 2 comments · Fixed by #1530
Assignees

Comments

@WinnyTroy
Copy link
Contributor

WinnyTroy commented Dec 10, 2018

The projects endpoint is currently returning a 500 Error.

This occurs when trying to hit the endpoint using the api.

Aha! Link: https://ona.aha.io/features/PROD-288

@WinnyTroy
Copy link
Contributor Author

This occurs while trying to hit the endpoint from the browser

Attempts to access data from this endpoint using curl and the Zebra site are successful though.

@lincmba
Copy link
Contributor

lincmba commented Dec 11, 2018

Environment (production)
works fine locally and stage with the latest master branch

Expected behaviour
should return a json list of projects data
image

Actual behaviour
Returns a 500 error
image

Sentry Exception
/api/v1/projects
ImproperlyConfigured Could not resolve URL for hyperlinked relationship using view name "user-detail". You may have failed to include the related model in your API, or incorrectly configured the lookup_field attribute on this field.

@ukanga ukanga added this to the Week 01 - 02 (2019) milestone Jan 2, 2019
lincmba added a commit that referenced this issue Jan 2, 2019
@lincmba lincmba self-assigned this Jan 2, 2019
lincmba added a commit that referenced this issue Jan 3, 2019
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.

3 participants