Fix a file that failed to process

If a file shows Failed on the Files page, or "Could not be read" in chat, Clema could not read its contents. Select Try processing again first. If it fails again, simplify the file and upload a fresh copy.

On this page

Uploading and processing are two separate stages. A file can upload successfully and still fail when Clema tries to read it. This article covers both: files rejected before upload, and files that fail afterward.

Rejected before upload

"{name} is not a supported file type. Accepted: ..."
Convert the file to .csv, .tsv, .xlsx, .xlsm, .xls, .json, .pdf, .docx, .txt or .md.
"{name} is {size}. The limit is 20 MB."
Reduce the file. Remove unused sheets and columns, split it by year or save a large workbook as .csv.
"{name} is empty."
Open the file, confirm it has content and save it again before uploading.
"You can attach at most 10 files to a message."
This applies in chat. Send the files across several messages, or upload them on the Files page instead.
"Select an organization before attaching a file."
Choose your organization from the profile menu at the bottom of the left rail, then try again.

Failed after upload: retry first

Owners, Admins and Members can do this on the Files page. Only the person who uploaded the file sees the retry action.

  1. Step 1: Select Data in the left rail, then Files.

  2. Step 2: Find the file with the Failed status and select it.

    The details show "This file could not be processed" and, where available, a reason.

  3. Step 3: Select Try processing again.

  4. Step 4: Wait for the status to change to Ready.

If it fails again, simplify the file

Most repeat failures come from the file's layout. Fix the file, delete the failed copy and upload the new one.

  • Remove password protection. Clema cannot open protected workbooks or PDFs.
  • Put the header row first. Delete title rows, logos and notes above the column names.
  • Use one table per sheet, with no merged cells, subtotal rows or blank spacer rows.
  • Give every column a unique, non-empty name.
  • Save .csv files as UTF-8 with a single, consistent delimiter.
  • For scanned PDFs, use a version with selectable text. An image-only scan has no text to read.
  • If a workbook has macros or links to other files, save a plain .xlsx or .csv copy of the values.

Ready, but with warnings

A file can reach Ready and still need attention. Open its details and read Notes from reading this file. Clema lists anything it was unsure about, such as columns it could not type or rows it skipped. Check the preview against your original before relying on answers from that file.

Failures in chat

A file attached in chat shows Uploading..., then Reading file..., then its size when ready. If the chip shows Could not be read, remove it, fix the file as described above and attach it again. You can send a message once the upload finishes, but answers about the file are only reliable after Clema has finished reading it.

Common questions

Why did my file upload but then fail?
Uploading only stores the file. Clema then reads it to work out tables and columns, and that step fails if the file is protected, malformed or has no readable content.
Who can retry a failed file?
Only the person who uploaded it sees the Try processing again action.
Can Clema read scanned PDFs?
A PDF needs selectable text. An image-only scan may fail or produce no usable content.

Related articles