react-notion-x
react-notion-x copied to clipboard
Login Failure in NotionAPI Active User Settings to access Private Page
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.
Next.js (14.2.23)
Not sure if its the same issue but in my case it does not return at all. Like its not working.