Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Unable to query Region detail endpoint #812

Open
CloudNiner opened this issue Jun 6, 2018 · 0 comments
Open

Unable to query Region detail endpoint #812

CloudNiner opened this issue Jun 6, 2018 · 0 comments

Comments

@CloudNiner
Copy link
Contributor

Made a request like so:

http GET https://app.climate.azavea.com/api/region/18/ format=json 'Authorization:Token <token>'

Requests to the Region list endpoint are fine.

Rollbar error:

[ClimateChange] production - New Error: AssertionError: ("Creating a ModelSerializer without either the 'fields' attribute or the 'exclude' attribute has been deprecated since 3.3.0, and is now disallowed. Add an explicit fields = 'all' to the RegionDetailSerializer serializer.",) https://rollbar.com/Azavea/ClimateChange/items/150/

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

No branches or pull requests

1 participant