jamalex / notion-py

Unofficial Python API client for Notion.so
MIT License
4.3k stars 475 forks source link

Unsaved transactions: SpaceShardRecordPointer have no space id #383

Closed egeres closed 1 year ago

egeres commented 1 year ago

I'm attempting to add an entry into a Notion database, but I'm facing the mentioned error when calling .add_row() in the following code:

from notion.client import NotionClient

# ...

client = NotionClient(token_v2=token_v2)
cv = client.get_collection_view(url)
row = cv.collection.add_row()
egeres commented 1 year ago

Looks like this fork fixes the issue and is well maintained! https://github.com/vzhd1701/notion-py