-
I am facing a strange problem here. I have no problem using notion sdk to create, query and delete pages, but when it comes to updating a page properties, it always results in a 401 Error: API token is invalid. I'm really confused whether I did something wrong with my codes, token setup, wrong formatting of the properties to be updated or it's just a bug. The images below are my codes and the logs. Much appreciated if anyone can help me solve this problem here. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
ramnes
Aug 3, 2024
Replies: 1 comment 1 reply
-
I think you have two problems:
What version do you use? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kwokrico
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you have two problems:
properties={"properties": ...}}
that seems wrong at first sight) – please refer to the Notion API reference;httpx.HTTPStatusError
should exist since version 0.14.0 (August 7th, 2020).What version do you use?