Search code examples
postmanhttp-status-code-404fetch-apinotion-apinotion

Notion API Return 404 "code":"object_not_found"


Why my Notion API return a 404 status, even though i already connect my Database with my Notion Integration, where am i getting this wrong?

Here's my request via Postman: request to notion api using database_id

And here's my database id: database_id

Database connected with my Notion Integration: database connected with my notion integration

My Notion Workspace connected with my Notion Integration: workspace connected with my integration

im hundred percent sure already providing the correct bearer token from my integration on my request via postman, why am i getting this error?

I've tried follow allong with the Notion offical documentation guides but it just doesnt work


Solution

  • "Dont believe everything you see on the internet", i just figured it out it's turn out that my Database is actually not a Database when you create add a new page in notion it doesn't mean that you're making a new database.

    In order to create a new database in Notion you need to specified that page you just added to behave as a database, at the first place i thought when i add a new page in Notion it'll automatically to behave as a database as i follow along with some tutorial out there.