md2notion icon indicating copy to clipboard operation
md2notion copied to clipboard

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

Open Asura0528 opened this issue 3 years ago • 2 comments

"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 avatar May 09 '22 18:05 Asura0528

SG~8%K_8X4J_V(DL064TJ3E

Asura0528 avatar May 09 '22 18:05 Asura0528

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.

huangcaohui avatar Jul 10 '22 10:07 huangcaohui