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

API token is invalid #1

Open
kennywasafk opened this issue Feb 4, 2025 · 0 comments
Open

API token is invalid #1

kennywasafk opened this issue Feb 4, 2025 · 0 comments

Comments

@kennywasafk
Copy link

Getting the following output on npm run start even though I'm using a valid and up-to-date Notion API token. Any ideas what might be going wrong?

[nodemon] 2.0.21
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node app.js`
✅ Loaded databases!
✅ Loaded websites!
✅ 🚀 Starting bot (polling) ...
📩 Received a new message: kekw4
🚧 Creating a notion page...
@notionhq/client warn: request fail { code: 'unauthorized', message: 'API token is invalid.' }
APIResponseError: API token is invalid.

I realise it's been a while since this was updated but it's a really handy tool and I'd be grateful for any help 🙏

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