Replies: 2 comments
-
Hi samplue! The current version of CommandPost is still running I've been caught up in BRAW Toolbox, but will try and jump back on CommandPost soon. In the meantime, you can try manually swapping out the files. You might need to right-click on csv2notion and "open" to get past sandbox restrictions before running CommandPost. It's in the |
Beta Was this translation helpful? Give feedback.
-
Hi @latenitefilms, thanks a lot for the quick feedback. Unfortunately this doesn't seem to do the trick. Looking forward to a fix in in an upcoming update! |
Beta Was this translation helpful? Give feedback.
-
Hi there, I've been trying to get the csv2notion integration in CommandPost to work, but unfortunately it fails each time. While I've succesfully managed to upload and merge databases through the terminal commands. Here's the error message from the Debug console, hopefully there is something useful in it to track down the error:
_2023-01-13 11:05:38: 11:05:38 Notion Upload Status: ERROR: Got 400 error attempting to POST to submitTransaction, with data: { "operations": [ { "id": "12a42a55-1f32-43ab-a31b-982fbe9d6a72", "path": [], "args": { "id": "12a42a55-1f32-43ab-a31b-982fbe9d6a72", "version": 1, "alive": true, "created_by_id": "a8fe7040-36ac-477c-83d2-c296c87d5e78", "created_by_table": "notion_user", "created_time": 1673604338345, "parent_id": "a381005a-8620-4200-9c36-e7da116a2630", "parent_table": "collection", "type": "page" }, "command": "set", "table": "block" }, { "args": { "last_edited_by_id": "a8fe7040-36ac-477c-83d2-c296c87d5e78", "last_edited_by_table": "notion_user", "last_edited_time": 1673604338346 }, "command": "update", "id": "12a42a55-1f32-43ab-a31b-982fbe9d6a72", "path": [], "table": "block" }, { "args": { "last_edited_by_id": "a8fe7040-36ac-477c-83d2-c296c87d5e78", "last_edited_by_table": "notion_user", "last_edited_time": 1673604338346 }, "command": "update", "id": "12a42a55-1f32-43ab-a31b-982fbe9d6a72", "path": [], "table": "block" } ]}
2023-01-13 11:05:38: Notion Upload Status: ERROR: Got 400 error attempting to POST to submitTransaction, with data: { "operations": [ { "id": "2a7d28e2-4294-4b7c-b4f0-2aebfbe42d1b", "path": [], "args": { "id": "2a7d28e2-4294-4b7c-b4f0-2aebfbe42d1b", "version": 1, "alive": true, "created_by_id": "a8fe7040-36ac-477c-83d2-c296c87d5e78", "created_by_table": "notion_user", "created_time": 1673604338362, "parent_id": "a381005a-8620-4200-9c36-e7da116a2630", "parent_table": "collection", "type": "page" }, "command": "set", "table": "block" }, { "args": { "last_edited_by_id": "a8fe7040-36ac-477c-83d2-c296c87d5e78", "last_edited_by_table": "notion_user", "last_edited_time": 1673604338362 }, "command": "update", "id": "2a7d28e2-4294-4b7c-b4f0-2aebfbe42d1b", "path": [], "table": "block" }, { "args": { "last_edited_by_id": "a8fe7040-36ac-477c-83d2-c296c87d5e78", "last_edited_by_table": "notion_user", "last_edited_time": 1673604338362 }, "command": "update", "id": "2a7d28e2-4294-4b7c-b4f0-2aebfbe42d1b", "path": [], "table": "block" } ]}
2023-01-13 11:05:38: Notion Upload Status: ERROR: Got 400 error attempting to POST to submitTransaction, with data: { "operations": [ { "id": "63ae5fcc-5a23-4240-ad2a-d8d77f20cb27", "path": [], "args": { "id": "63ae5fcc-5a23-4240-ad2a-d8d77f20cb27", "version": 1, "alive": true, "created_by_id": "a8fe7040-36ac-477c-83d2-c296c87d5e78", "created_by_table": "notion_user", "created_time": 1673604338387, "parent_id": "a381005a-8620-4200-9c36-e7da116a2630", "parent_table": "collection", "type": "page" }, "command": "set", "table": "block" }, { "args": { "last_edited_by_id": "a8fe7040-36ac-477c-83d2-c296c87d5e78", "last_edited_by_table": "notion_user", "last_edited_time": 1673604338387 }, "command": "update", "id": "63ae5fcc-5a23-4240-ad2a-d8d77f20cb27", "path": [], "table": "block" }, { "args": { "last_edited_by_id": "a8fe7040-36ac-477c-83d2-c296c87d5e78", "last_edited_by_table": "notion_user", "last_edited_time": 1673604338387 }, "command": "update", "id": "63ae5fcc-5a23-4240-ad2a-d8d77f20cb27", "path": [], "table": "block" } ]}
2023-01-13 11:05:38: Notion Upload Status: ERROR: Got 400 error attempting to POST to submitTransaction, with data: { "operations": [ { "id": "32991048-1e2d-4019-9c8c-47d30249d1bf", "path": [], "args": { "id": "32991048-1e2d-4019-9c8c-47d30249d1bf", "version": 1, "alive": true, "created_by_id": "a8fe7040-36ac-477c-83d2-c296c87d5e78", "created_by_table": "notion_user", "created_time": 1673604338585, "parent_id": "a381005a-8620-4200-9c36-e7da116a2630", "parent_table": "collection", "type": "page" }, "command": "set", "table": "block" }, { "args": { "last_edited_by_id": "a8fe7040-36ac-477c-83d2-c296c87d5e78", "last_edited_by_table": "notion_user", "last_edited_time": 1673604338585 }, "command": "update", "id": "32991048-1e2d-4019-9c8c-47d30249d1bf", "path": [], "table": "block" }, { "args": { "last_edited_by_id": "a8fe7040-36ac-477c-83d2-c296c87d5e78", "last_edited_by_table": "notion_user", "last_edited_time": 1673604338585 }, "command": "update", "id": "32991048-1e2d-4019-9c8c-47d30249d1bf", "path": [], "table": "block" } ]}
2023-01-13 11:05:38: Notion Upload Status: Traceback (most recent call last): File "csv2notion/main.py", line 4, in File "csv2notion/cli.py", line 82, in main File "csv2notion/cli.py", line 45, in cli File "csv2notion/cli_steps.py", line 77, in upload_rows File "tqdm/std.py", line 1195, in iter File "csv2notion/utils_threading.py", line 38, in process_iter File "csv2notion/utils_threading.py", line 38, in File "concurrent/futures/_base.py", line 437, in result File "concurrent/futures/_base.py", line 389, in __get_result File "concurrent/futures/thread.py", line 57, in run File "csv2notion/utils_threading.py", line 26, in worker File "csv2notion/notion_uploader.py", line 24, in upload_row File "csv2notion/notion_uploader.py", line 40, in _get_db_row File "csv2notion/notion_db.py", line 104, in add_row File "csv2notion/notion_db_collection.py", line 37, in add_row_block File "notion/collection.py", line 213, in add_row_block File "notion/client.py", line 427, in create_record File "notion/client.py", line 468, 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 290, in postrequests.exceptions.HTTPError: Unsaved transactions: SpaceShardRecordPointer have no space id[34318] Failed to execute script 'main' due to unhandled exception!
Beta Was this translation helpful? Give feedback.
All reactions