QuickType error codes
Every problem QuickType shows ends with a code. Say the code (and the ref, if there is one) and this page says what happened and where to look. Made from src/engine/errors.ts; don't edit by hand.
Known problems: QT-<area>-<number>
The number is what the server answered. The same number means the same thing in every area.
| Number | What happened | Fix |
|---|---|---|
| 400 | The request was wrong: a missing or bad field (a price, a title, a token). | The message says which field. If the app sent it, the bug is in the app code for that area. |
| 401 | Not signed in, or the sign-in ran out. | Sign in again (Account > Sign-in). If it keeps happening, the session isn't being saved: check src/app/account.ts. |
| 402 | Needs something not paid for yet: Pro, or card payments that aren't switched on. | Expected for free accounts. If payments should work, check env.PAYMENTS on the server. |
| 403 | Signed in, but this account isn't allowed to do it (not the seller, not staff, not the gold card holder, or suspended). | Look the person up in DevOps: their plan and any suspension are at the top of their page. |
| 404 | It doesn't exist (taken down, a wrong id, or a file that was never uploaded). | For library or installer files: run SET UP SERVER.bat or PUBLISH INSTALLER.bat again. |
| 409 | It clashes with what's already there (already listed, already has Pro, already reviewed). | Usually fine: refresh the page. |
| 410 | It was there but is gone now (a market copy someone else just bought). | Refresh and pick another. |
| 429 | Too many in a short time (posts, ads per day, reports per PC). | Wait and try later. Limits live in that area's server file. |
| 500 | The server crashed while doing it. The ref is in the server logs and in DevOps > Logs (tag server-error). | Give the code and ref: the log line has the full stack. |
| 502 | Something the server relies on (GitHub, Stripe) didn't answer properly. | Try again in a minute. |
| 503 | Switched off on the server (ads or payments not set up yet), or the server is busy. | Expected until it's set up; otherwise try again. |
Areas
| Area | What | Where in the code |
|---|---|---|
| AUTH | Sign-in and accounts (server) | server/src/worker.js (auth, /me) |
| GH | GitHub sign-in (app) | src/app/account.ts |
| STORE | The shop | server/src/store.js, src/app/store.ts |
| TALK | Discussions, reviews and questions | server/src/community.js, src/app/community.ts |
| MARKET | The market (numbered copies) | server/src/market.js, src/app/market.ts |
| WALLET | Earnings and payouts | server/src/wallet.js, src/app/market.ts |
| ADS | Ads for a Pro library hour | server/src/ads.js, src/app/renderer/ads.js |
| PRO | Pro subscriptions (Stripe) | server/src/pro.js, src/app/renderer/plans.js |
| LIB | The Pro library and installer downloads | server/src/worker.js (/library, /releases), src/app/pro.ts |
| PEOPLE | Profiles (looking people up, changing yours) | server/src/profiles.js, src/app/renderer/profile.js |
| ADMIN | DevOps tools | server/src/worker.js (/admin), server/src/ops.js |
| REPORT | Reports from people (flagging) | server/src/worker.js (/reports) |
| LOGS | Opt-in error reports | server/src/worker.js (/logs), src/engine/report.ts |
| APP | The app talking to the server | src/app/account.ts (call, authed) |
| UPD | Updates | src/app/update.ts |
| WIN | A crash in the window (a page) | src/app/renderer/*.js |
| MAIN | A crash in the app itself | src/app/main.ts and src/app/*.ts |
| TICK | A crash in the background builder | src/engine/tick.ts and src/engine/*.ts |
| CLI | A crash in a command an AI ran (lookup, preset) | src/engine/cli.ts |
Codes the app makes itself
| Code | What happened | Where | Fix |
|---|---|---|---|
| QT-APP-NET | QuickType couldn't reach its server (no internet, or the server address is wrong). | src/app/account.ts | Check the internet. The address is server/server-url.txt. |
| QT-APP-NOSERVER | No server address on this PC. | server/server-url.txt | Run SET UP SERVER.bat, or reinstall QuickType. |
| QT-UPD-NOGIT | Updates need Git on this PC (QuickType run from its code folder). | src/app/update.ts | Install Git, or use the installer version. |
| QT-UPD-ACCESS | No access to the update repo from this PC. | src/app/update.ts | Sign in to GitHub with an invited account. |
| QT-UPD-DOWNLOAD | The new installer couldn't be downloaded. | src/app/update.ts (downloadInstalled) | Check the internet; the files are under /releases on the server. |
| QT-UPD-NORELEASE | No installer has been published yet. | server/publish-release.cjs | Run MAKE INSTALLER.bat, then PUBLISH INSTALLER.bat. |
Crashes: QT-<area>-<4 letters>
WIN, MAIN, TICK and CLI codes are crashes. The 4 letters are a fingerprint of the kind of error and the first QuickType file and line in its stack, so one bug always has one code. Each crash is saved on that PC in crashes.jsonl (in the QuickType settings folder) with its full stack and a ref. On that PC, qt-cli why <code or ref> (or node dist/engine/cli.js why ... from the code folder) prints what happened and the exact line. With error reports switched on, crashes also reach DevOps > Logs.
QuickType