Skip to content

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

@fujiyamayusuke

Description

@fujiyamayusuke

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions