Open DavidSongzw opened 3 years ago
And my NOTION_ROOT_PAGE link is like "https://www.notion.so/myspace/xxxxx?v=xxxxxx".When it is a full database page, everything is ok. If it is a normal page, the above error occurs.By the way my page is a subpage.
@DavidSongzw If you submit this as a PR, I will merge this.
Sorry, I'm not a python programmer,it may be caused by notion-py, You can see his issues.
I think that's maybe because your page is private @DavidSongzw?
I have the same issue. The workspace is private in deed.
Same error here, somehow it worked but no more.
It seems like you have to you a root page as a sub-page throughs an error.
@DavidSongzw
Same error here. Im try in root page and sub-page, both dont work.
I've started getting this issue today, to the same page that worked a few days ago.
just started using git-notion and having the same error today
Has there been any movement on this issue? I don't have the option of making a top-level page as it's a large company Notion space. It would need to be a sub-page.
Are there any plans to fix this? Is there any way I can help?
I've stepped through the code and traced this back to an issue in the underlying Notion API package. It's caused by "limit" being set too high. For some reason the fix hasn't been merged in (I've nudged) but you can fix it yourself by changing the limit in client.py from 10000 to 100.
https://github.com/knightjoel/notion-py/commit/521013095e96a05b80edd3e007c931c78a55ce6b
Hopefully this will be resolved.
@andrewspode I can update this repo to use your fork of notion-py if that fixes this issue.
If someone can verify that this resolves the issue, I can merge it and publish the new version.
It's not my fix - it's someone elses, but I did fix it locally by installing that version after I had installed notion-py. I will find some time to test it this week.
Just tested and at the current latest version doesn't work - still the same error as seen above. However if you go to ~/.local/lib/python3.8/site-packages/notion and manually change client.py
and store.py
as seen here then it works!
Does not work.
Just tested and at the current latest version doesn't work - still the same error as seen above. However if you go to ~/.local/lib/python3.8/site-packages/notion and manually change
client.py
andstore.py
as seen here then it works!
this worked for me as well
Description
run git-notion to upload doc
What I Did
Error