Skip to content
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

Login Failure in NotionAPI Active User Settings to access Private Page #611

Open
fujiyamayusuke opened this issue Feb 15, 2025 · 1 comment

Comments

@fujiyamayusuke
Copy link

README says:

const notion = new NotionAPI({
  activeUser: process.env.NOTION_ACTIVE_USER,
  authToken: process.env.NOTION_TOKEN_V2
})

However, it didn't work resulting in an error like 'Error: Notion page not found xxx...'"
Instead, the following worked fine:

const notion = new NotionAPI({
  authToken: process.env.NOTION_TOKEN_V2
})

I'll look into it some more.
Thank you.

@fujiyamayusuke
Copy link
Author

Next.js (14.2.23)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant