-
-
Notifications
You must be signed in to change notification settings - Fork 41
ERROR: Got 400 error attempting to POST to submitTransaction #125
Unanswered
mayliu5454-alt
asked this question in
Q&A
-
Dear vzhd1701,
Thank you for your great work on enex2notion!
I encountered the following error while importing my Evernote notes:
ERROR: Got 400 error attempting to POST to submitTransaction
I've exported my Evernote notebook as .enex with the last version of Evernote.
And I used enex2notion version 0.3.1_win_x64
Thank you very much for your time and support!
ERROR: Got 400 error attempting to POST to submitTransaction, with data: {
"operations": [
{
"id": "9799baa4-e8dc-4581-87f8-240cec478480",
"path": [
"format",
"collection_pointer",
"id"
],
"args": "f242e8a0-0a37-4bce-98c9-32045181af17",
"command": "set",
"table": "block"
},
{
"args": {
"last_edited_by_id": "e34ea272-0ced-4dc5-b0de-c78320b7b44a",
"last_edited_by_table": "notion_user",
"last_edited_time": 1760498741770
},
"command": "update",
"id": "9799baa4-e8dc-4581-87f8-240cec478480",
"path": [],
"table": "block"
}
]
}
WARNING: Failed to get notebook root for 'diary0'! Retrying...
ERROR: Got 400 error attempting to POST to submitTransaction, with data: {
"operations": [
{
"id": "9445a280-a2ce-4de5-bab7-c315c9501af8",
"path": [
"format",
"collection_pointer",
"id"
],
"args": "55786966-a6d6-4fe6-b0f7-8e1610a08d00",
"command": "set",
"table": "block"
},
{
"args": {
"last_edited_by_id": "e34ea272-0ced-4dc5-b0de-c78320b7b44a",
"last_edited_by_table": "notion_user",
"last_edited_time": 1760498743660
},
"command": "update",
"id": "9445a280-a2ce-4de5-bab7-c315c9501af8",
"path": [],
"table": "block"
}
]
}
WARNING: Failed to get notebook root for 'diary0'! Retrying...
ERROR: Got 400 error attempting to POST to submitTransaction, with data: {
"operations": [
{
"id": "c10b566f-2015-43ff-a658-86da171953b2",
"path": [
"format",
"collection_pointer",
"id"
],
"args": "49232ab3-1472-4443-af42-10a720961c8a",
"command": "set",
"table": "block"
},
{
"args": {
"last_edited_by_id": "e34ea272-0ced-4dc5-b0de-c78320b7b44a",
"last_edited_by_table": "notion_user",
"last_edited_time": 1760498745585
},
"command": "update",
"id": "c10b566f-2015-43ff-a658-86da171953b2",
"path": [],
"table": "block"
}
]
}
WARNING: Failed to get notebook root for 'diary0'! Retrying...
ERROR: Got 400 error attempting to POST to submitTransaction, with data: {
"operations": [
{
"id": "62fbed2e-cc65-4e10-9f63-b059a605183f",
"path": [
"format",
"collection_pointer",
"id"
],
"args": "a01b2aaa-eae5-416e-a7fb-e5c13269bf78",
"command": "set",
"table": "block"
},
{
"args": {
"last_edited_by_id": "e34ea272-0ced-4dc5-b0de-c78320b7b44a",
"last_edited_by_table": "notion_user",
"last_edited_time": 1760498747816
},
"command": "update",
"id": "62fbed2e-cc65-4e10-9f63-b059a605183f",
"path": [],
"table": "block"
}
]
}
WARNING: Failed to get notebook root for 'diary0'! Retrying...
ERROR: Got 400 error attempting to POST to submitTransaction, with data: {
"operations": [
{
"id": "289a27e5-9d6d-4b1e-88e3-cc69183cc7cd",
"path": [
"format",
"collection_pointer",
"id"
],
"args": "c897c2fe-b078-4323-8eda-8b00edc4c170",
"command": "set",
"table": "block"
},
{
"args": {
"last_edited_by_id": "e34ea272-0ced-4dc5-b0de-c78320b7b44a",
"last_edited_by_table": "notion_user",
"last_edited_time": 1760498749863
},
"command": "update",
"id": "289a27e5-9d6d-4b1e-88e3-cc69183cc7cd",
"path": [],
"table": "block"
}
]
}
ERROR: Failed to get notebook root for 'diary0'!
Traceback (most recent call last):
File "enex2notion\enex_uploader_modes.py", line 33, in get_notebook_database
File "enex2notion\enex_uploader_modes.py", line 51, in _get_notebook_database
File "notion\block.py", line 725, in collection
File "notion\records.py", line 115, in set
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)
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 42, in _process_input
File "enex2notion\cli_upload.py", line 53, in upload_notebook
File "enex2notion\cli_upload.py", line 113, in _get_notebook_root
File "enex2notion\cli_upload.py", line 130, in _attempt_upload
File "enex2notion\enex_uploader_modes.py", line 35, in get_notebook_database
enex2notion.utils_exceptions.NoteUploadFailException
[24612] Failed to execute script '__main__' due to unhandled exception!
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment