-
Notifications
You must be signed in to change notification settings - Fork 548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
databases.list
not returning any databases.
#56
Comments
You need to share with the integration user. :) |
yeah, sorry, read it just now 🙈 |
I'm also having this problem even though integration has a page with inline table and a table page shared with it. and I'm running the supplied example SDK code from the reference: const { Client } = require('@notionhq/client');
const notion = new Client({ auth: process.env.NOTION_API_KEY });
(async () => {
const response = await notion.databases.list();
console.log(response);
})(); which returns > node index.js
{ object: 'list', results: [], next_cursor: null, has_more: false } |
I have exactly the same problem... I have shared the database with the integration but it does get nothing |
+1.I have exactly the same problem... I have shared the database with the integration but it does get nothing |
I use the search api.also return empty results. |
notion.databases.list
is returning no results. Code is something like:We have lots of databases on our workspace, and a couple of them are even public to the whole web.
The text was updated successfully, but these errors were encountered: