Skip to content

Add Python exception for missing integration #29

@floscha

Description

@floscha

Right now, calling a Notion object without an appropriate integration prints the following error message:

ValueError: {"object":"error","status":404,"code":"object_not_found","message":"Could not find database with ID: <datavase_id>. Make sure the relevant pages and databases are shared with your integration."}

Consider turning this into a native Python exception.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions