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
When trying to use children.add_new(block_type=’TextBlock’):
Traceback (most recent call last):
File "/Users/steven/Documents/Scripts/Python/RSS to Notion.py", line 35, in <module>
pg.children.add_new(block_type="TextBlock", title=pypandoc.convert_text(entry['content'][0]['value'], to='markdown', format='html', extra_args=['--atx-headers']))
File "/opt/homebrew/lib/python3.9/site-packages/notion/block.py", line 126, in add_new
block_id = self._client.create_record(
File "/opt/homebrew/lib/python3.9/site-packages/notion/client.py", line 394, in create_record
self.submit_transaction(
File "/opt/homebrew/lib/python3.9/site-packages/notion/client.py", line 435, in __exit__
self.client.submit_transaction(operations)
File "/opt/homebrew/lib/python3.9/site-packages/notion/client.py", line 290, in submit_transaction
self.post("submitTransaction", data)
File "/opt/homebrew/lib/python3.9/site-packages/notion/client.py", line 260, in post
raise HTTPError(
requests.exceptions.HTTPError: Unsaved transactions: runQuery
The text was updated successfully, but these errors were encountered:
When trying to use
children.add_new(block_type=’TextBlock’)
:The text was updated successfully, but these errors were encountered: