HTTPError: Invalid input.
Opened this issue · 4 comments
Hi, thanks for providing this useful tool, but I got some problem when export. After typing token & link, it says:
HTTPError: Invalid input.
Traceback:
File "/app/.heroku/python/lib/python3.6/site-packages/streamlit/ScriptRunner.py", line 319, in _run_script
exec(code, module.dict)
File "/app/notion-md-exporter.py", line 187, in
notion_markdown_export(token_v2, url, directory)
File "/app/notion-md-exporter.py", line 132, in notion_markdown_export
page = client.get_block(url)
File "/app/.heroku/python/lib/python3.6/site-packages/notion/client.py", line 92, in get_block
block = self.get_record_data("block", block_id, force_refresh=force_refresh)
File "/app/.heroku/python/lib/python3.6/site-packages/notion/client.py", line 85, in get_record_data
return self._store.get(table, id, force_refresh=force_refresh)
File "/app/.heroku/python/lib/python3.6/site-packages/notion/store.py", line 184, in get
self.call_load_page_chunk(id)
File "/app/.heroku/python/lib/python3.6/site-packages/notion/store.py", line 286, in call_load_page_chunk
recordmap = self._client.post("loadPageChunk", data).json()["recordMap"]
File "/app/.heroku/python/lib/python3.6/site-packages/notion/client.py", line 185, in post
"message", "There was an error (400) submitting the request."
Any idea how to solve this problem? I would be appreciate!
Thanks again.
the same question😂
got same issue
got same issue too
+1