react-notion-x icon indicating copy to clipboard operation
react-notion-x copied to clipboard

Login Failure in NotionAPI Active User Settings to access Private Page

Open fujiyamayusuke opened this issue 1 year ago • 2 comments

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 avatar Feb 15 '25 15:02 fujiyamayusuke

Next.js (14.2.23)

fujiyamayusuke avatar Feb 15 '25 15:02 fujiyamayusuke

Not sure if its the same issue but in my case it does not return at all. Like its not working.

sikelos13 avatar Apr 01 '25 10:04 sikelos13