Troubleshoot uploaded files and downloads
Practical checks for file uploads, agent access, generated downloads, and interface behavior.
Start with a small file whose contents you can verify. Follow it through the interface, the agent's inputs, its tool result, and the final download.
The paperclip is missing, or the uploaded file never reaches the agent
In Interface → Configuration, enable Show attachment icon.
In Fields, confirm the Files input is selected. Showing the icon does not select that input automatically.
In Workflow Builder, connect Files to the agent and insert its output in the agent's Prompt using the reference picker.

Check the node ID as well as its alias. If there are several Files inputs, confirm the upload reaches the one referenced by the agent. Required controls whether users must provide a file; it does not enable file access.
The upload is still processing
Wait for the interface's upload state to finish before sending. If it remains stuck, inspect the visible error, check the connection, and try one small file. Repeatedly sending the same request does not complete an unfinished upload.

An accepted upload proves that the file was transferred. It does not prove that a parser or tool can read it.
The agent sees a filename but cannot read or analyze the file
Confirm Settings → Knowledge & Inputs → File Access is on.
Confirm Terminal from StackAI Computer appears in the agent's tools, with its required Command input configured. The walkthrough uses AI auto-fill.
Ask the agent to inspect the uploaded file before answering. Open its actual tool result to see whether it found and read the file.

If Terminal is unavailable in your environment, ask your workspace administrator about its availability. For a text-only summary, consider passing Full Parsed Text to the Prompt instead.
If the result reports a reading or parsing failure, check the file format and the limit shown by that upload control. Try an unencrypted, supported file. Scanned PDFs may need OCR, and a text extraction step can miss images or layout. Renaming a file extension does not convert its contents. See File Inputs, Supported Formats, and Size Limits.
The answer looks right, but there is no usable download
Ask explicitly for a new file, including what it should contain.
In Terminal → Configurations, keep Enable New Files on. For the Terminal workflow in this guide, instruct the agent to save generated files under
/home/user/.Inspect the tool's returned files and the final answer. The agent should return the actual file link, rather than inventing a link or returning only a filename.
Check that the interface exposes the intended output.

Open the download and check its contents. A table export can contain only the displayed summary, while a generated CSV can contain the cleaned source rows. If a download link has expired or the file was regenerated, create the result again and use its latest returned link.
A follow-up loses track of the file
Continue in the same conversation and check the agent's conversation and memory settings. If the file is still unavailable, attach it again and make the question explicit. For a new conversation, a separate form submission, or an independent batch row, supply the required file again.

Do not assume that files or generated results are available across unrelated conversations. For related Terminal calls, reuse the environment returned by the earlier call when needed; a separate environment starts with separate working state.
Draft Preview works, but the published assistant behaves differently
Confirm the edited project version completed the required publication process. Draft Preview uses the current draft; the released interface can still use an earlier version. Check the published Fields, attachment controls, and intended user's access. Test the published or embedded experience from the route users will actually use.
See Publish a Chat Assistant and Interface authentication and access.
The calculation or file contents are wrong
Ask for the precise rule: which rows to include, which values to sum, and what the output should contain. Compare the answer with the source data and expanded tool result. For the walkthrough sample, four confirmed signup rows contain eight seats; those are different counts.

An executed command can still calculate the wrong thing. Review the actual result before using or sharing it.
If you need help
Provide the project and interface type, whether the issue occurs in Draft Preview or the published release, the visible error, and a small non-sensitive example that reproduces it. Include the relevant tool result when available, and avoid sharing private download links or sensitive source files unnecessarily.
Return to Let an agent work with uploaded files for the complete setup.
Was this helpful?

