-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I'm running into an issue when I try to query the API through this SDK to get a list of the sites associated with the current access code.
client = Webflow(access_token=session['access_token'])
sites = client.sites.list()
This is the exception that gets thrown:
pydantic.v1.error_wrappers.ValidationError: 1 validation error for ParsingModel[Site]
__root__ -> id
field required (type=value_error.missing)
I am not very familiar with pydantic
but it seems that it's failing at parsing the id
of a site, but surely the API returns IDs for each site in JSON.
sausage-todd
Metadata
Metadata
Assignees
Labels
No labels