jamalex / notion-py

Unofficial Python API client for Notion.so
MIT License
4.28k stars 476 forks source link

HTTPError: 401 Client Error: Unauthorized for url https://www.notion.so/api/v3/loadUserContent #346

Open JustDhan opened 2 years ago

JustDhan commented 2 years ago

Hello guys, my python script work fine from long time ago, but today when I try to start and check on notion some data with this API

it will crash with this traceback. HTTPError: 401 Client Error: Unauthorized for url https://www.notion.so/api/v3/loadUserContent

Are Notion trying to broke this unofficial API?

mileyvirus commented 2 years ago

Same. Tried getting new token_v2 cookies, even logging out and loggin in again, but nothing worked.

mariostoev commented 2 years ago

Has anyone found a fix yet?

AndreClaassen1 commented 2 years ago

Any new information about this issue?

pashok3d commented 2 years ago

Tested out now and it seems to be working. Make sure to copy the whole token.

mathix420 commented 2 years ago

Same issue, even with the email password auth method!

AndreClaassen1 commented 2 years ago

Strange. Today I have renewed my token v2 and all is working fine.

Arnaud Gissinger @.***> schrieb am Mo. 4. Okt. 2021 um 15:37:

Same issue, even with the email password auth method!

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/jamalex/notion-py/issues/346#issuecomment-933494791, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWHG2KGYWCYLPYPJWZET6LUFGUY7ANCNFSM5EVP2I5A .

-- André Claaßen Consulting

Hauptstraße. 327

44649 Herne

@.***

Web: andreclaassen.de

Twitter: @IT_Digital_AC https://twitter.com/IT_Digital_AC

0157 50188423

mathix420 commented 2 years ago

Same, by just trying hard and relaunching my app. Without even changing the token it worked...

AngelikiDixons commented 2 years ago

doen't work for me although I keep logging out and loggin in again...