Cobertos / md2notion

A better Notion.so Markdown importer
MIT License
654 stars 65 forks source link

"message", "There was an error (400) submitting the request." #49

Open Asura0528 opened 2 years ago

Asura0528 commented 2 years ago

"message", "There was an error (400) submitting the request." When I want to import pictures(md file local path) by using this package, it reported me this error

Asura0528 commented 2 years ago

SG~8%K_8X4J_V(DL064TJ3E

huangcaohui commented 2 years ago

Apparently notion-py has some issues with big http limits.

A workaround for me (a noob on python) to make it work was:

  1. Run pip show notion on the terminal.
  2. Get notion package location and access its contents (e.g. d:\anaconda\lib\site-packages\notion).
  3. Change store.py line 280 to "limit": 100.