notion-sdk-py
notion-sdk-py copied to clipboard
notion.databases.X don't working
Hi,
I'm unable to work with this API.
I'm starting with a few tests.
For example this code
` from notion_client import Client
NOTION_TOKEN = 'ntn_XXXXXXXXXXXXXXXXXXX' DATABASE_ID = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
notion = Client(auth=NOTION_TOKEN) print(notion.databases.list()) exit() `
took me to a Bad Request error.
Same script using notion.users.list() is working as expected.
Seems all related to .databases subfunctions.
Anyone too or I'm missing something?