Custom GPT Not Using Its Knowledge Files: What to Check
When a GPT says it can't find what is in its Knowledge files, or files vanish after saving, check limits, the save, file format and instructions in order.
Your GPT says it cannot find an answer that is in an uploaded file, or the files are gone after you save. Check one cause at a time: limits, the save itself, file format, then instructions.
[1] Compare against the limits. The OpenAI help article "Knowledge in GPTs" is quoted on the community forum with these numbers.
| Item | Limit |
|---|---|
| Files | Up to 20 per GPT, for the lifetime of that GPT |
| File size | 512MB per file |
| Text and document files | 2M tokens per file (spreadsheets excepted) |
| Images | 20MB per image |
[2] Confirm the GPT was actually saved. A file can show in the editor and still be gone after a refresh. Forum reports quote draft not saved, Unsaved changes, Error saving GPT and This file contains too much text content. Open the browser developer console in the editor, click save, and look for an error.
[3] Save with no files, then add one small file. This check is built from the forum reports; the sentences below are made-up examples.
1. Remove every file under Knowledge and save. If saving still fails with no files, read the console error from step 2 first. 2. Upload a one-line test.txt and save.
The staging server password rotation day is every second Tuesday.3. Ask in the preview pane:
When is the staging server password rotation day?If the small file works but your real files do not, the problem is the size or format of the real files. If even the small file fails, go to step 6.
[4] Cut down or merge files. When saving fails after many uploads, forum replies suggest uploading in batches, or reducing the count by merging into fewer, larger files. One report hit too much context encountered after merging data into large files, so merge one at a time and save after each.
[5] Change the file format. Forum users report:
- ZIP and other compressed files cannot be read.
- Converting PDFs to plain text or DOCX helps.
- A large XLSX could not be searched by keyword; the GPT only found a record when given the exact ID.
- A GPT that could not find answers in 20 Markdown files (about 150 KB each) worked after the user uploaded
search-doc.json, the file a Docusaurus build generates.
[6] Name the files in the instructions. The approach one forum user reported working: list the file names, add a few question and answer examples, and set what to say when nothing matches. This example follows that pattern.
Answer only from the files in Knowledge: rotation-schedule.txt and servers.txt.If the answer is not in them, reply exactly: "Not found in the files." ExampleQ: Which file lists the staging servers?A: servers.txtAnother reply suggested turning on Code Interpreter and writing step-by-step instructions to use only the uploaded documents. The user who asked said it did not help.
[7] If files disappear after saving, use a recovery path. Threads from 2024-12 to 2025-02 describe GPTs that lost their files after an update. Reported workarounds:
- Restore a past version (one user lost the files again on the next update).
- Duplicate the GPT and re-upload the files (this worked for that user).
- Keep local copies of the files and instructions.
- Check the OpenAI status page.