You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '400 Bad Request' for url 'https://api.notion.com/v1/databases/33436a61114b418db333c520f5757e3b'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/bingo/Downloads/NoteTrail/hexo.py", line 237, in <module>
HexoParser.update_properties(database_id_)
File "/Users/bingo/Downloads/NoteTrail/hexo.py", line 44, in update_properties
notion_client.update_database_properties(database_id, properties=properties)
File "/Users/bingo/Downloads/NoteTrail/notetrail/my_notion_client.py", line 40, in update_database_properties
return self.client.databases.update(database_id=database_id, properties=properties)
File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/site-packages/notion_client/api_endpoints.py", line 168, in update
return self.parent.request(
File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/site-packages/notion_client/client.py", line 194, in request
return self._parse_response(response)
File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/site-packages/notion_client/client.py", line 126, in _parse_response
raise APIResponseError(response, body["message"], code)
notion_client.errors.APIResponseError: body failed validation. Fix one:
body.properties.Categories.number should be defined, instead was `undefined`.
body.properties.Categories.formula should be defined, instead was `undefined`.
body.properties.Categories.select should be defined, instead was `undefined`.
body.properties.Categories.multi_select should be an object, instead was `[]`.
body.properties.Categories.status should be defined, instead was `undefined`.
body.properties.Categories.relation should be defined, instead was `undefined`.
body.properties.Categories.rollup should be defined, instead was `undefined`.
body.properties.Categories.unique_id should be defined, instead was `undefined`.
body.properties.Categories.title should be defined, instead was `undefined`.
body.properties.Categories.rich_text should be defined, instead was `undefined`.
body.properties.Categories.url should be defined, instead was `undefined`.
body.properties.Categories.people should be defined, instead was `undefined`.
body.properties.Categories.files should be defined, instead was `undefined`.
body.properties.Categories.email should be defined, instead was `undefined`.
body.properties.Categories.phone_number should be defined, instead was `undefined`.
body.properties.Categories.date should be defined, instead was `undefined`.
body.properties.Categories.checkbox should be defined, instead was `undefined`.
body.properties.Categories.created_by should be defined, instead was `undefined`.
body.properties.Categories.created_time should be defined, instead was `undefined`.
body.properties.Categories.last_edited_by should be defined, instead was `undefined`.
body.properties.Categories.last_edited_time should be defined, instead was `undefined`.
body.properties.Categories.button should be defined, instead was `undefined`.
body.properties.Categories.location should be defined, instead was `undefined`.
body.properties.Categories.verification should be defined, instead was `undefined`.
body.properties.Categories.last_visited_time should be defined, instead was `undefined`.
body.properties.Categories.name should be defined, instead was `undefined`.
这种情况该怎么解决呢,谢谢
The text was updated successfully, but these errors were encountered:
这种情况该怎么解决呢,谢谢
The text was updated successfully, but these errors were encountered: