The "Bad Token" error doesn't appear on your calculator — it appears in TI Connect CE, the desktop software, when you try to open or send a program file the software can't accept. The message usually reads something like "A token in [filename].8xp is invalid, so we are not able to open it." Here's what's actually wrong and how to get your program onto the calculator.
What a "token" is (and why it goes bad)
TI-BASIC programs aren't stored as plain text. Every command — Disp, normalcdf(, even the store arrow — is saved as a compact code called a token. TI Connect CE reads the .8xp file token by token, and if it hits a code it doesn't recognize as valid for your calculator, it stops and reports a bad token.
Common causes
Based on TI's knowledge base and calculator-community forums (TI-Basic Developer, Cemetech), the error traces back to a handful of situations:
- Corrupt or incomplete download. TI's own support docs note that an invalid-file error appears "when the file you are sending is an invalid or corrupt file" — a download that got cut off or mangled is the classic case.
- File made for a different calculator model. A program written for another model can contain tokens the TI-84 Plus CE line doesn't use. TI recommends verifying the file targets your specific calculator.
- Tokens from a newer OS or token set. Newer calculator OS versions add commands (and therefore tokens) that older software and older OS versions don't know about, so the file won't open until things are updated.
- Text pasted or saved with the wrong encoding. Forum threads document that copy-pasting code from websites or other editors can insert characters that don't map to real TI tokens — even symbols that look identical (a superscript ², for example) can be a different character underneath. Community members also note that certain token codes simply can't be transferred at all.
How to fix it
Work down this list — the first two steps solve most cases:
- Re-download the file from the original source. If the download was corrupted, a fresh copy fixes it immediately. Get it from the original site (Cemetech, TI84CalcWiz, the author's page), not a re-upload.
- Confirm the file is for the TI-84 Plus CE. Check the download page's compatibility list. A file built for a different or older model may never work on a CE.
- Update your calculator's OS through TI Connect CE. If the program uses commands from a newer OS than yours, updating the calculator resolves the token mismatch. If the update stalls on the "Validating OS" screen, see /error-fixes/validating-os/.
- Update TI Connect CE itself. An old version of the software may not recognize newer tokens. Install the latest release from TI's website.
- If you wrote the program yourself, rebuild it in TI Connect CE's Program Editor. Don't paste code in from a text editor or website. Retype it inside TI Connect CE, choosing commands from its built-in catalog so every token is genuine, then send the program again. (Cemetech's SourceCoder 3 is a solid web-based alternative that exports clean .8xp files.)
Quick reference
| Cause | Fix |
|---|---|
| Corrupt / incomplete download | Re-download from the original source |
| File for a different model | Get the TI-84 Plus CE version |
| Newer token set than your OS | Update the calculator OS via TI Connect CE |
| Outdated TI Connect CE | Install the latest version |
| Pasted text / wrong encoding | Rebuild in the Program Editor and resend |
Still can't transfer?
Bad Token is only one of several things that can go wrong between your computer and calculator. If TI Connect CE won't detect the calculator at all, or transfers keep failing partway, see the full troubleshooting guide at /error-fixes/ti-connect-ce/. For errors that appear on the calculator itself, start at /error-fixes/error-messages/.
Try it right now
Need to keep working while you sort out the transfer? Use the free online TI-84 calculator — a full TI-84 Plus CE that runs in your browser with no download, no cable, and no TI Connect CE required. It's the fastest way to keep doing math while your file problem gets fixed.