Open ericmjl opened 3 years ago
Encoutered the same issue today, the #334 did not fix it to me unfortunately.
Same here, #334 didn't seem to fix it.
Same here, #334 didn't seem to fix it
Same here. :-(
Notion has made the official API public beta, so I think some or all of the unofficial API has been deprecated.
Same issue :/
I can confirm that the fix in #352 fixes the problem. @jamalex would you be kind enough to chime in up there to see if there is anything else that need to be done to finish up the PR?
For others, the tl;dr until the PR is merged is:
pip install git+https://github.com/jamalex/notion-py.git@refs/pull/352/merge
Btw, just wanted to also add that the Python package helped me build a hacky garage sale app backed by notion. Huge kudos to you for building notion-py, it's super useful!
Hi @jamalex! Thank you for making
notion-py
. Really like it for custom automation with Notion.Recently, I have encountered an HTTP 400 error when trying to query for a collection. A few code snippets and their outputs might highlight what's going on.
Client instantiation works perfectly fine:
Getting page works well too:
However, getting collections and their views fail with the same error message. To save space, I have encapsulated them in a details tag.
May I ask whether you might have a hypothesis as to why getting collections and their views are failing?
Update: this issue might actually be fixed by https://github.com/jamalex/notion-py/pull/334.