Skip to content

API token is invalid only when I try to update a page properties. #239

Answered by ramnes
kwokrico asked this question in Q&A
Discussion options

You must be logged in to vote

I think you have two problems:

  • Your update parameters are invalid (there's at least properties={"properties": ...}} that seems wrong at first sight) – please refer to the Notion API reference;
  • HTTPX seems out of date, because httpx.HTTPStatusError should exist since version 0.14.0 (August 7th, 2020).

What version do you use?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kwokrico
Comment options

Answer selected by kwokrico
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants