You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uploading a document with images is causing an error. It works fine with plain text, but even with images smaller than 5MB, the error still occurs.
Log excerpt
Traceback (most recent call last):
File "enex2notion\enex_uploader.py", line 28, in upload_note
File "enex2notion\enex_uploader_block.py", line 16, in upload_block
File "enex2notion\enex_uploader_block.py", line 54, in _upload_file
File "notion\maps.py", line 50, in fset
File "notion\records.py", line 115, inset
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 290, in _post
requests.exceptions.HTTPError: Something went wrong. (400)
During handling of the above exception, another exception occurred:
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 42, in _process_input
File "enex2notion\cli_upload.py", line 56, in upload_notebook
File "enex2notion\cli_upload.py", line 79, in upload_note
File "enex2notion\cli_upload.py", line 103, in _upload_note
File "enex2notion\enex_uploader.py", line 35, in upload_note
enex2notion.utils_exceptions.NoteUploadFailException
[8628] Failed to execute script '__main__' due to unhandled exception!
The text was updated successfully, but these errors were encountered:
enex2notion version
0.2.26
What OS are you using?
Windows
OS Version / Linux distribution
Windows 10
Bug description
Uploading a document with images is causing an error. It works fine with plain text, but even with images smaller than 5MB, the error still occurs.
Log excerpt
The text was updated successfully, but these errors were encountered: