---
title: "Troubleshooting"
description: "Resolve common connection, upload, file, and sync problems."
canonical_url: "https://docs.flashdrive.space/reference/troubleshooting"
---
# Troubleshooting

> Resolve common connection, upload, file, and sync problems.

Start with the affected workspace, drive and request ID (the `X-Request-Id` header, or `request_id` in an error). Use the steps below before repeating an operation, and see [errors and recovery](https://docs.flashdrive.space/reference/errors) for each error code.

## Connecting

<table>
<thead>
  <tr>
    <th>
      Symptom
    </th>
    
    <th>
      Check and action
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Python cannot import <code>
        flashdrive
      </code>
    </td>
    
    <td>
      Activate the virtual environment and run <code>
        python -m pip show flashdrive
      </code>
      
      . Follow <a href="https://docs.flashdrive.space/sdk/installation">
        installation
      </a>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      The SDK asks for configuration
    </td>
    
    <td>
      Set <code>
        FLASHDRIVE_API_KEY
      </code>
      
       in the terminal that runs Python, or pass <code>
        api_key
      </code>
      
       to <code>
        Flashdrive(...)
      </code>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      401 <code>
        invalid_credentials
      </code>
    </td>
    
    <td>
      Check the API URL (<code>
        https://api.flashdrive.space/v1
      </code>
      
      ) and the key. A Console sign-in and a workspace API key are different credentials, and a sandbox token stops working when it ends or is revoked.
    </td>
  </tr>
  
  <tr>
    <td>
      400 <code>
        client_required
      </code>
    </td>
    
    <td>
      Send <code>
        Flashdrive-Client: name/version
      </code>
      
       with every request that carries credentials. The CLI and the SDK do this for you.
    </td>
  </tr>
  
  <tr>
    <td>
      426 <code>
        client_upgrade_required
      </code>
    </td>
    
    <td>
      Update the CLI with <code>
        flashdrive update
      </code>
      
      , or follow <a href="https://docs.flashdrive.space/sdk/installation">
        SDK setup
      </a>
      
       for an available matching SDK.
    </td>
  </tr>
  
  <tr>
    <td>
      403 <code>
        forbidden
      </code>
    </td>
    
    <td>
      Check the workspace role, the key's permission (<code>
        search
      </code>
      
       keys cannot write), the MCP permissions you approved, or the sandbox token's drive, folder and access.
    </td>
  </tr>
  
  <tr>
    <td>
      A workspace, drive or file is missing (404)
    </td>
    
    <td>
      Check that your account, key or token can reach it. For an MCP connection, check which drives you approved.
    </td>
  </tr>
  
  <tr>
    <td>
      An agent cannot connect over MCP
    </td>
    
    <td>
      Use the setup prompt on the Console's <strong>
        Connect agents
      </strong>
      
       page, then check that a read-only tool call works. See <a href="https://docs.flashdrive.space/mcp/troubleshooting">
        MCP troubleshooting
      </a>
      
      .
    </td>
  </tr>
</tbody>
</table>

## Uploads

<table>
<thead>
  <tr>
    <th>
      Symptom
    </th>
    
    <th>
      Check and action
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      An upload never finishes processing
    </td>
    
    <td>
      Read the upload and its operation. A finished transfer is not a finished upload: look for <code>
        error_code
      </code>
      
      . See <a href="https://docs.flashdrive.space/sdk/upload-recovery">
        upload recovery
      </a>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      429 <code>
        upload_limit
      </code>
    </td>
    
    <td>
      The drive's transfer or processing capacity is full. Wait for <code>
        Retry-After
      </code>
      
      . Check <code>
        GET /v1/drives/{drive_id}/ingestion-metrics
      </code>
      
      . See <a href="https://docs.flashdrive.space/reference/uploads-api#upload-capacity">
        upload capacity
      </a>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      400 <code>
        checksum_mismatch
      </code>
    </td>
    
    <td>
      The bytes sent do not match the declared size or SHA-256. Compute both from the file you send.
    </td>
  </tr>
  
  <tr>
    <td>
      413 <code>
        file_too_large
      </code>
    </td>
    
    <td>
      A file holds at most 10,000,000,000 bytes. See <a href="https://docs.flashdrive.space/reference/limits">
        limits
      </a>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      409 <code>
        storage_capacity_exceeded
      </code>
    </td>
    
    <td>
      Free space or increase workspace storage. See <a href="https://docs.flashdrive.space/platform/storage-and-upgrades">
        storage and upgrades
      </a>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      A PDF has no text
    </td>
    
    <td>
      It has no text layer. It is stored and readable by bytes; run OCR before uploading if you need its text. A PDF that needs a password must be uploaded as an unlocked copy.
    </td>
  </tr>
</tbody>
</table>

## Files and changes

<table>
<thead>
  <tr>
    <th>
      Symptom
    </th>
    
    <th>
      Check and action
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      412 <code>
        stale_version
      </code>
    </td>
    
    <td>
      The file changed since you read it, and nothing was written. Read it again, then decide whether your change still applies.
    </td>
  </tr>
  
  <tr>
    <td>
      A file named like <code>
        name (conflict 20261114T010203Z a1b2c3d4).ext
      </code>
      
       appeared
    </td>
    
    <td>
      Two edits met and a recovery copy was saved; find them with the <code>
        recovery
      </code>
      
       tool (or <code>
        GET /v1/drives/{drive_id}/recovery-files
      </code>
      
      ). Compare the copy with the original, merge what you need, then delete the copy. See <a href="https://docs.flashdrive.space/reference/content-api#conflict-copies">
        conflict copies
      </a>
      
      .
    </td>
  </tr>
  
  <tr>
    <td>
      404 <code>
        source_unavailable
      </code>
    </td>
    
    <td>
      The file was added as a text record and has no original bytes. Read its text with the text route.
    </td>
  </tr>
  
  <tr>
    <td>
      409 <code>
        edit_text_not_found
      </code>
      
       or <code>
        edit_text_not_unique
      </code>
    </td>
    
    <td>
      Read the file again and copy the <code>
        old
      </code>
      
       text exactly, with enough context to occur once.
    </td>
  </tr>
  
  <tr>
    <td>
      413 <code>
        body_too_large
      </code>
      
       on a byte write
    </td>
    
    <td>
      Send at most 64 MiB per request.
    </td>
  </tr>
  
  <tr>
    <td>
      410 <code>
        cursor_reset
      </code>
      
       on the change feed
    </td>
    
    <td>
      Start again without a cursor and list the drive or folder.
    </td>
  </tr>
  
  <tr>
    <td>
      A mount does not start
    </td>
    
    <td>
      Mounting works on macOS, and on Linux with FUSE. Elsewhere, use <code>
        flashdrive pull
      </code>
      
       and <code>
        flashdrive push
      </code>
      
      . See <a href="https://docs.flashdrive.space/cli/mount-and-sync">
        mount and sync
      </a>
      
      .
    </td>
  </tr>
</tbody>
</table>

## Billing

<table>
<thead>
  <tr>
    <th>
      Symptom
    </th>
    
    <th>
      Check and action
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      A storage payment is pending
    </td>
    
    <td>
      Open its existing payment link in Billing, then read the storage again. Avoid buying twice.
    </td>
  </tr>
  
  <tr>
    <td>
      409 <code>
        workspace_storage_quote_expired
      </code>
    </td>
    
    <td>
      Ask for a new quote and confirm it while it is current.
    </td>
  </tr>
  
  <tr>
    <td>
      402 <code>
        workspace_storage_grace
      </code>
      
       or <code>
        workspace_storage_restricted
      </code>
    </td>
    
    <td>
      The paid storage period ended. Renew storage in Billing.
    </td>
  </tr>
</tbody>
</table>

## Contact support

Email [support@evokoa.com](mailto:support@evokoa.com). Include the UTC time, request ID, error code, client and version, and the action you tried. For billing, include the invoice or purchase ID.

Use a small reproduction when you can. Leave out passwords, API keys, tokens, payment details and private file contents.


## Sitemap

See the full [sitemap](https://docs.flashdrive.space/sitemap.md) for all pages.
