AI Features Manual · Chapter 15

Troubleshooting

Message / symptomCauseWhat to do
AI features are available only in studio mode.Not in studio mode (machine operation screen and so on)Go back to the studio screen and try again
AI features cannot be used while the machine is running.A sequence, manual operation, initialization, dispensing or align is runningStop the whole machine and try again
AI features cannot be used while scripts are being built.A build is runningTry again after the build
Stopped because the machine started, a build started or the studio mode ended.The conditions changed during the requestSend again with the machine stopped. That answer was not kept
No AI feature license. (code 7)RunTime key without code 7, V1 dongle, free editionAsk ICT to add code 7 (chapter 3)
No Claude API key is saved.The key was not savedSave the key in [Tool Options → AI]
Could not read the saved API key.Saved by another Windows user or on another PC, or the Windows password was resetEnter and save the key again
The API key was rejected (wrong, expired or disabled).401 authentication errorCheck the key in the Console or replace it (API key manual chapter 10)
This API key cannot use the model (…)Key permission or workspace restrictionChoose another model or check permissions in the Console
A spend limit or the credit balance was reached.Console spend limit, not enough creditCheck credit and limits in the Console
Too many requests. / The AI server is busy or failing.429 rate limit, server overload, server error (5xx)Try again later (QMS retries a few times)
Cannot reach the AI server.Internet, proxy or firewallAllow outgoing HTTPS to api.anthropic.com. The proxy follows the Windows system settings
The request was not sent because it could exceed this month's AI limit (this PC).This month + the maximum cost of this request > monthly limitRaise the monthly limit or wait for next month
The request was not sent because today's usage … plus its maximum estimated cost … exceeds the daily limit ….Today (UTC) + the maximum cost of this request > daily limitRaise the daily limit or wait until the day changes (00:00 UTC)
The AI usage record was changed or deleted, so the usage limits on this PC cannot be trusted. / Panel header "Check the usage record"Ledger rows edited or deleted; the ledger file deleted or replaced with an old copy; the seal file deleted; the seal file locked and unreadable 3 times or more for more than 2 minutes (antivirus, backup software)Check it in the usage record check of [Tool Options → AI] and press [RESEAL] (chapter 13). If the seal file is locked, close the program holding it or add an exception, then [CHECK AGAIN]
The AI usage record cannot be checked.A record of another Windows user or PC; Windows password reset or profile restore[RESEAL] as above
The usage record could not be resealed.The record folder is not writableCheck write access to %APPDATA%\QMachineStudio\AI
The request was not sent because the task's maximum estimated cost … exceeds the task limit ….Large attachments, a long conversation, a large modelRemove attachments or start [NEW], choose a smaller model, or raise the task limit
The request was not sent because the plan question's maximum estimated cost … exceeds the plan limit ….Plan mode — large attachments, a long plan conversation, a large modelStart [NEW], remove attachments or choose a smaller plan model, or raise the plan limit
The AI server did not answer in time. / The connection dropped while the answer was arriving.Timeout, network dropSend again. What arrived was not kept in the conversation
The request was rejected: …Request format or size problem (400)Remove attachments or try again in a [NEW] conversation. If it continues, contact ICT with the log
The AI did not answer this question.The model declined to answerRephrase the question and send again
(the task limit was close, so the AI answered without running more tools)Close to the task limitWhat is left is in the answer. Raise the task limit if needed and ask again
The request was not sent because the AI usage file could not be opened …usage.db locked by another program, or the folder is not writableClose the program holding it and check write access to %APPDATA%\QMachineStudio\AI
The question and its attachments are too large. / This conversation is long.Context limit (about 150,000 tokens)Remove large attachments or start [NEW]
One question can have up to 8 attachments, of which up to 5 images. / One conversation can carry up to 20 images …Attachment limitsUse fewer attachments or start [NEW]
The large log '…' is still being indexed (n%). Send when it is done.Sent before indexing finishedSend after the chip shows the size and line count
The large log '…' could not be indexed (…). Remove it or attach it again.The file could not be read, or indexing was stoppedRemove the chip and attach the file again
'…' could not be attached. (…)The cause in brackets — protected file, excluded by .qmsaiignore, too many large logs (8), or the previous indexing still stoppingDo not attach protected or excluded files. At the limit, start [NEW]; if indexing is still stopping, try again in a moment
Stopped — the AI kept calling tools past the limit for one question.The AI looked up too muchNarrow the question (name the module or function) and send again
The answer was cut off / hit the output limitOutput limitLower the effort or split the question
Stopped after 3 fix attempts with … error(s) left.The AI could not fix the errorsLook at the errors in the compare view and fix them yourself, or try again in a [NEW] conversation with a larger model
All … selected change(s) were edited after the AI proposed them.Someone edited the same units after the proposal (conflict). For parameter values: the value changed after the proposal, the copy source changed, the job file was closed or another job file was opened, the group was excluded by .qmsaiignore or as a protected file, or the parameter no longer existsAsk the AI to propose again on the current code
Some changes touch safety logic … tick the confirmation box below, then apply.The safety confirmation box is not tickedCheck the changes in the compare view and tick it
… parameter value(s) failed the type or range check, so nothing was applied.A value outside the range (for example the range changed after the proposal)See the check column of the table, then unselect them or ask the AI to propose them again
no job file is open, so JF values cannot be changed - open a job file firstNo job file is open (shown in the check column of the compare view and in the AI answer)Open a job file and ask again
not applied: the parameter file could not be savedThe parameter file is read-only or lockedCheck the file attributes and locks, then apply again (the value was also restored in memory)
There is no undo record for this change set …Already reverted, or the project was reopenedRestore from the backup folder (chapter 8)
Automatic run: The budget is not enough for the next request …Run budget used up[RAISE BUDGET] or [FINISH HERE]
This automatic run belongs to another project (…) and cannot be resumed here.A different project is openOpen that project and try again
Worried about text in picturesText in pictures cannot be maskedCheck the picture before sending, or attach the log as text
The AI uses function or IO names that are not in the projectA generative AI errorCheck with the QMS check and a build (F6). Write naming rules in the site guide QMS_AI.md
The new parameter definitions were saved, but the scripts were not built.There are unsaved new AI modules — a build could run them before you check themCheck the new modules and save (Ctrl+S) to build (chapter 8)
… change(s) cannot be applied, so nothing was applied.A new parameter or module definition breaks a rule (the name exists, the structure is locked and so on), or a value is out of rangeSee the check results, then unselect those changes or ask the AI to propose them again
The manual is not made while the machine is running or a build is in progress.User manual generator — drawing the screens pauses the window for a momentStop the machine and try again (chapter 12)
HTML mockups need the WebView2 RuntimeThe Microsoft Edge WebView2 Runtime is missing on this PC (mostly Windows 10 or offline PCs)Download the runtime separately from the official Microsoft WebView2 page in the message and install it (it is not in the QMS installer), then try again. Everything else in QMS keeps working (chapter 8)
The HTML mockup could not be drawn (…)Cause in brackets — time-out (30 s), the page could not be loaded, measuring failedSimplify the mockup (500 elements or fewer, smaller pictures) or check that the HTML uses only files in the mockup folder
This HTML file is excluded from AI by the project's .qmsaiignore (or protection rules)A mockup inside the project matches an exclusion ruleMove the mockup out of the project or change .qmsaiignore

For more detail, see the QMS log (lines starting with AiPanel or XAi…) and the audit log in [OPEN FOLDER]. The QMS log and the audit log do not contain the key or the question text.

Subscribe