notion-sdk-py icon indicating copy to clipboard operation
notion-sdk-py copied to clipboard

notion.databases.X don't working

Open peppelongo96 opened this issue 7 months ago • 0 comments

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?

peppelongo96 avatar May 12 '25 00:05 peppelongo96