paperboi / kindle2notion

Export all clippings from your Kindle device to a database in Notion.
https://pypi.org/project/kindle2notion/
MIT License
886 stars 120 forks source link

requests.exceptions.HTTPError: Invalid input. #69

Closed Predo7 closed 2 years ago

Predo7 commented 2 years ago

I tried running the script and i get this error.

I already tried this solution but nothing #14

(i'm very noob in programmation :))

SchluppiBobbz commented 2 years ago

The solution from #14 wasn't working for me either.

But this one worked: https://github.com/jamalex/notion-py/pull/294#issuecomment-804306525

Also described here: https://stackoverflow.com/questions/66513210/cant-get-page-title-from-notion-using-api

Copy pasted from stackoverflow: pip uninstall notion

Then either:

pip install git+https://github.com/jamalex/notion-py.git@refs/pull/294/merge OR in your requirements.txt add

git+https://github.com/jamalex/notion-py.git@refs/pull/294/merge

I hope that helps, Best

paperboi commented 2 years ago

Hi, I rewrote the code using a different python wrapper that uses the official Notion API for read/write operations in the latest commit. The updated package has been released on PyPi as well. Please run it and hope it works for you.