notion-py
notion-py copied to clipboard
Unable to create a new row in notion database
Hello,
I am trying to create a new row to a notion database. The code used to work. I am still able to read the row contents but when I try to create a new row it gives me this error:
HTTPError: Unsaved transactions: SpaceShardRecordPointer have no space id
appreciate any help.
thanks
Same problem, let me know if you find a solution
I found a solution, I need to add a line to args:
"space_id": self.current_space.id
https://github.com/arturtamborski/notion-py/blob/f282ad2e0971302f6b6e14e2f029b90987228adf/notion/client.py#L903