Skip to content

Instantly share code, notes, and snippets.

@TakashiSasaki
Last active January 23, 2024 07:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TakashiSasaki/a09ee58009078ae12223e8e3085c6315 to your computer and use it in GitHub Desktop.
Save TakashiSasaki/a09ee58009078ae12223e8e3085c6315 to your computer and use it in GitHub Desktop.
Error log when a file was too large to upload with enex2notion. The garbled text is due to the mingw terminal not understanding UTF-8, but it’s not a particular problem.
INFO: Uploading note 1169 out of 1243 '▒▒▒▒▒E▒_▒E▒▒▒▒▒[▒h --- ▒▒▒▒▒▒▒R▒▒▒▒▒Y ▒▒▒c▒@▒l▒}▒▒▒`▒▒▒f▒B▒A▒U▒▒▒Z▒▒▒^▒['
INFO: Uploading note 1170 out of 1243 '▒▒▒{▒▒`▒̏I▒▒'
WARNING: Failed to upload note '▒▒▒{▒▒`▒̏I▒▒' to Notion! Retrying...
WARNING: Failed to upload note '▒▒▒{▒▒`▒̏I▒▒' to Notion! Retrying...
WARNING: Failed to upload note '▒▒▒{▒▒`▒̏I▒▒' to Notion! Retrying...
WARNING: Failed to upload note '▒▒▒{▒▒`▒̏I▒▒' to Notion! Retrying...
ERROR: Failed to upload note '▒▒▒{▒▒`▒̏I▒▒' to Notion!
Traceback (most recent call last):
File "enex2notion\enex_uploader.py", line 20, in upload_note
File "enex2notion\enex_uploader.py", line 35, in _upload_note
File "enex2notion\enex_uploader_block.py", line 11, in upload_block
File "notion\block.py", line 141, in add_new
File "notion\client.py", line 469, in __exit__
File "notion\client.py", line 323, in submit_transaction
File "ratelimit\decorators.py", line 113, in wrapper
File "ratelimit\decorators.py", line 80, in wrapper
File "notion\client.py", line 275, in post
File "notion\client.py", line 298, in _post
File "requests\models.py", line 1021, in raise_for_status
requests.exceptions.HTTPError: 413 Client Error: Payload Too Large for url: https://www.notion.so/api/v3/submitTransaction
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "enex2notion\__main__.py", line 4, in <module>
File "enex2notion\cli.py", line 47, in main
File "enex2notion\cli.py", line 32, in cli
File "enex2notion\cli.py", line 40, in _process_input
File "enex2notion\cli_upload.py", line 66, in upload_notebook
File "enex2notion\cli_upload.py", line 90, in upload_note
File "enex2notion\cli_upload.py", line 118, in _upload_note
File "enex2notion\cli_upload.py", line 130, in _attempt_upload
File "enex2notion\enex_uploader.py", line 22, in upload_note
enex2notion.utils_exceptions.NoteUploadFailException
[29972] Failed to execute script '__main__' due to unhandled exception!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment