Troubleshooting
Resuming interrupted exports, handling missing items, and reading permission gaps.
Most export problems fall into a few groups: an export that stopped partway, items the export could not read, a token that no longer works, or an export that is slower than you expected. This page covers each in the app.
Resuming an interrupted export
Exports save their progress as they go. If one is interrupted (you aborted it, the computer slept or restarted, the network dropped, the app was closed), nothing it already wrote is lost.
To continue, run the export again for the same connection in the Wizard. It picks up where it stopped. When you choose Abort during an export, the app says the same before you confirm: what it has written so far is kept, and running it again picks up where it stopped.
The CLI view also has a Resume command for an export that has stopped. It checks that an earlier run exists for that archive first; see the CLI view reference.
If the interrupted run was fetching missing items, it continues as one.
Pausing an export
You can pause a running export and resume it later. A pause lets requests already under way finish, starts nothing new, and then waits. Nothing is abandoned partway, and a paused export uses none of your rate limit.
- In the Wizard: choose Pause on the export step. While requests are finishing, the Wizard says it is pausing; once nothing is in flight, it says the export is paused. The button then reads Resume.
- In the CLI view: an export started there has the same Pause and Resume buttons, and its status shows Pausing, then Paused.
A pause never changes an archive’s seal.
For a long stop, such as overnight or over a weekend, abort the export. Because exports save their progress, running it again loses nothing, and the app isn’t holding the export open for hours.
Missing items and permission gaps
When an export can’t read something, it records it and carries on. The finished archive is marked Complete — PARTIAL: valid, but with content known to be missing. Each missing item is listed in the archive’s permission-gaps.json (see Archive format).
There are two reasons an item goes missing, and the app names the reason for each group:
- Not shared with the account this export uses. The export identity’s token can’t read it: a private List, Space or project, for example. Ask an admin to share it with that account, then fetch it again.
- Deleted or moved while the export ran. If it still exists, fetch it again. If it was deleted on purpose, mark it not needed.
An attachment the file host refused is also recorded as missing.
Seeing what is missing
When an export finishes PARTIAL in the Wizard, choose See what is missing. Items are grouped by what is missing and why, with what to do about each group and a link to open each item in ClickUp or Jira. You can search by ID or kind. The Audit page shows the same list for an archive, read-only.
Fetch missing items
Once access is fixed, choose the fetch button, which counts what it will ask for (for example, Fetch 12 missing items). Cartulary asks the source for those items only and publishes a new version, with everything else carried over from the last one. It usually takes minutes.
Mark as not needed
If an item is gone for good, or was left out on purpose, select it and choose Mark selected as not needed. You can add an optional note, such as “HR documents, archived on purpose”. The decision is saved in the connection’s settings with who made it and when. Later exports no longer ask for the item, and each archive lists it in exclusions.json.
If marking items leaves nothing missing, Record these decisions in a new version publishes a version that says so, without asking the source for anything. To reverse a decision, choose Include again next to it.
Items you won’t see as gaps
The platform doesn’t always say what it left out, so some things a token can’t see never show up as gaps:
- ClickUp: tasks in a private List the export account isn’t a member of.
- Jira: issues in projects the account can’t browse. Jira’s search returns only what the account may browse.
Export with an account that can see everything in scope. To check, compare the archive against the platform’s own CSV export with the Reconcile command, which is available only in the CLI view. For ClickUp it reports tasks “In a List ClickUp did not show this export’s account”. See the CLI view reference.
Files kept as references
Some files a task or Doc points to aren’t held by the platform: a file ClickUp links to in SharePoint, OneDrive or Google Drive, or an image pasted from another Workspace. Cartulary tries to fetch each one, without sending your platform token to the other service.
If the other host refuses (access ended, the file moved, the service is gone), the task is still complete: its text and the file’s address are in the archive. They don’t count as gaps, and they don’t make the archive PARTIAL. They’re listed in unreachable-references.json and on the Audit page under Referenced, not reachable, grouped by host. Fetching missing items doesn’t retry them; the next full read does.
Token problems
If a token has expired, been revoked, or been replaced, requests fail authentication (HTTP 401) and the export fails with code 2 (see Errors and exit codes). A 401 can also mean the token is valid but its account isn’t a member of the Workspace or site the connection names; the log includes the platform’s response, which usually says which.
A 403 is different: the token is fine, but one object isn’t shared with its account. That’s a permission gap.
To replace a token:
- Create a new token for the export identity: in ClickUp, or at id.atlassian.com for Jira, signed in as the account the connection names.
- In the app, go to Settings → Connections and choose Token on the connection. The panel says which token is in use.
- Paste the new token and choose Save token.
If the panel says a token from the environment is being used (for example CLICKUP_API_TOKEN), that token overrides any stored one, so update or remove it there. See Security for how tokens are stored.
Slow exports and rate limits
Cartulary paces itself to the platform’s limits by default, so you usually don’t need to change anything.
- ClickUp limits requests per token, by plan. By default, Cartulary follows the limit ClickUp reports on every response, counting requests from other integrations that use the same token. When the minute’s allowance is used up, it waits for the reset, so no request is refused.
- Jira is paced at 3,000 requests a minute by default, half of Jira’s burst limit, leaving room for other integrations. Cartulary also waits out any delay Jira asks for.
A slow ClickUp export on a Free Forever, Unlimited or Business plan is usually the plan’s limit of 100 requests a minute. Nothing is wrong.
Automatic adaptation
After sustained rate limiting, Cartulary narrows how many downloads it runs at once; after sustained success, it widens again. Each change is written to the export’s log (lines starting INFO adaptive and INFO pace), so a run that slowed down says so.
Changing the limits
Each connection’s settings are a file you can open in a text editor: .cartulary/connections/<name>.yaml inside your Cartulary folder (File → Show in Finder: Cartulary Folder, or Show in File Explorer on Windows). The .cartulary folder is hidden by default; on macOS, press Cmd+Shift+. in Finder to show it. Saving the connection in the app keeps these settings.
network:
requests_per_minute: 300 # default: auto. A number caps the pace.
attachments:
max_bytes_per_second: 2097152 # 2 MiB/s. Unlimited by default.
network.requests_per_minute: set a number to keep part of the token’s allowance for other integrations. The export never goes faster than it.attachments.max_bytes_per_second: use this if an export is saturating a shared internet connection. File downloads are most of an export’s traffic and don’t count against the request limit.network.api_concurrencyandnetwork.comment_concurrency: how many requests are in flight at once. Leave them atautounless you have a reason not to.
Errors and exit codes
When a run fails, its status shows Failed with a line such as “Exited with code 2”, and the log has the details. A run that finished with missing content shows Complete — PARTIAL instead. That’s a warning: the run succeeded with known gaps. The codes you’re most likely to see:
| Code | Meaning | What to do |
|---|---|---|
| 1 | Invalid command or settings | Fix what the log names. A Resume with no earlier run also ends with 1. |
| 2 | Authentication failure | See Token problems. |
| 3 | Network or source failure | Check your connection and run the export again; it continues from where it stopped. |
| 6 | Disk or local file failure | Free disk space, or choose an output folder you can write to (Settings → Output). |
| 8 | License required | Settings → License shows what your license covers. |
The full list is in the CLI view reference. For verification failures, see Verification.