Cancel a personal table import with the Inbound API
Stop the original CSV or Excel import session and check which tables or records already exist.
Use the original session ID if you need to stop an import into new personal tables, for example after choosing the wrong workbook. Use an API key for the same workspace and acting user that started the import. The session can be cancelled while its status is awaiting_review, awaiting_verification, queued, or importing.
Cancel the original session
Use the base URL shown under API Access and load the key from your secret manager. Replace example-session-id with the data.importSession.importSessionId returned when you prepared the import.
curl --silent --show-error --fail-with-body --include \
--request POST \
"${NIXA_API_BASE_URL}/imports/personal-tables/example-session-id/cancel" \
-H "X-API-Key: ${NIXA_API_KEY}"
HTTP 202 with data.cancellationRequested: true acknowledges the request. If you get HTTP 409 or the connection drops, check the original session before taking another action. It may have finished or already been cancelled.
Check what saved
- Read the original session and check
data.status. Look forcancelled. If the status iscompleted, review the result and verify what was imported. - Check any tables listed in
data.result.tables. You can also open Recent personal table imports in Mainbase and follow the table links if available. - If the session lists no tables, check the Database page for the intended table names. Cancellation can leave tables or records that were already saved. Compare a few record identifiers with the source file before deciding whether to retry the original session or import again.
Ask Mainbase AI
Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.
Open the AI assistantCopy a question to get started
- How do I create a Kanban view?
- How do I invite a teammate?
- Why is a record missing from this view?