Notion API · api · fg-0459

Notion API returns object_not_found for a page or database that exists and opens fine in the app

If you see 404 object_not_found, the cause and the fix for Notion API are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
404 object_not_foundCould not find database with ID: 249d19fb-3530-80fc-a7ba-edbe8fde08f4. Make sure the relevant pages and databases are shared with your integration.Search with no query returns an empty results array in a workspace full of pages
Cause
An integration token can read nothing until a person connects that integration to a page or database in the Notion UI. The API answers with the same 404 it uses for an ID that does not exist.
Fix
Connect the integration on the top-level page that holds everything it needs, then retry. Treat a 404 on a known ID as a sharing problem first.
Apply
Notion page > ••• menu (top right) > scroll down to Add connections > search the connection name > select it from the dropdown list
Affected
Notion REST API, internal and public integrations, all API versions, as of 2026-10
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun