This page helps when the AI assistant does not connect, does not answer or refuses an action. Find the message you see, then follow the table. Credit messages are explained in AI credits and credit licences, MCP client errors in MCP › Troubleshooting.
The AI panel needs a connection to the Weble AI service. The panel first tries through your browser (your computer reaches the AI service and relays it to the device), then through the device (the device opens an outgoing connection). The Connection menu of the model popover shows which link is used: Link: via browser or Link: via the box.
| Symptom or message | Cause | What to do |
|---|---|---|
| AI assistant not configured on this box: AI service key missing | The device has no identity for the AI service (the key file is missing from the device configuration). | The panel will not retry. Contact support@weble.ch with the name of the device. |
| The panel stays on Connecting... or shows Offline | Neither your browser nor the device can reach the AI service. | Check that your computer or the device has internet access (secure WebSocket to ai.weble.ch, port 443). The device only needs outgoing access: nothing to open in the firewall. See Network. |
Message starting with AI_SERVER_COOLDOWN |
The device failed to reach the AI service and waits before the next attempt: 10 s, then 20 s, 40 s and so on, up to 5 minutes. | Wait for the delay shown, or open the panel from a computer that has internet access so that the browser link is used. |
| Timed out — the box or a device took too long to respond. | A call to the device or to a field device did not answer in time. | Try again. If it repeats, check the gateway concerned on the Gateways page. |
| A turn is already running in this conversation | A previous message is still being processed. | Wait for the answer, or click Stop, then send again. |
| A mode shows licence required just after opening the panel | The licence state of the device is not known yet: the device has just reconnected. | Wait a few seconds; the state is refreshed on its own. |
Messages such as AI credits exhausted, The AI credits licence of this box is empty, suspended or Monthly AI credits cap reached are explained in AI credits › Refusal messages.
| Symptom or message | Cause | What to do |
|---|---|---|
| key rejected when saving a key | The provider refused the key during the test call. | Check the key with the provider (copied in full, active, with API access and credit at the provider). |
| test failed when saving a key | The test call did not succeed for another reason. | Try again later; check the provider's status. |
| Key missing: “My key” mode selected, but no API key saved | My key is selected but no key is saved. The input is blocked so that credits are not charged silently. | Save a key in the model menu, or choose Built-in. |
| The My key tab shows licence required: Requires the AI Connect (or FULL) licence on this box | Your own key needs the AI Connect or FULL licence on this device. | Contact support@weble.ch to enable the licence, or use Built-in. See product licences. |
| Your key covers …; the selected model (…) is not covered and runs on the box credits. | The key belongs to another provider than the selected model. | Pick a model of your key's provider (listed under Models covered by this key), or save a key for that provider. |
| Your key is saved but Built-in mode is selected | Built-in mode is chosen; the key is kept. | Click 🔑 in the Connection menu to use the key. |
Without the AI Connect or FULL licence, a message on your own key still retains a service share of credits: when the device has no credits left, this mode stops too.
The assistant works with two independent layers of control:
| Message | Meaning | What to do |
|---|---|---|
not permitted |
Your role does not include this function. | Granting a permission group to the assistant does not help. Ask an administrator to extend your role (see Users & access), or ask an administrator to do the action. |
insufficient privileges for <method> |
Account and role management (create or delete accounts, change roles) is refused for your role. | Same as above. |
AI_PERM_ESCALATION: … |
You tried to give an AI driver assistant a permission group that your own role does not fully cover. | Grant the precise function instead, from a permission card in that assistant's conversation. |
AI_PERM_CHECK_UNAVAILABLE: … |
The device could not check the permission at that moment. | Open the AI panel, then try again. |
The assistant will not look for an indirect way (a logic block, a route, a script) to obtain an effect that your role refuses: it tells you that an administrator must extend the role.
| Symptom | Cause | What to do |
|---|---|---|
| A Large result card with a size in characters and a cost in credits | A tool result is longer than 30 000 characters. It is never sent to the model without your consent. | Click Send to the model to send it once, for this turn only, or Refuse and ask a narrower question (one gateway, a shorter time range). |
| The assistant stops and sums up what it found and what remains | A turn is limited to 25 steps (one step can run several tools). | Type continue to resume. |
| A permission card stays unanswered | The assistant waits for your decision. | Answer the card. MCP clients wait about 45 seconds for your click. |
Errors seen by Claude Desktop or another MCP client (takeover_not_approved, box_not_connected, no_entitlement…) are listed in MCP › Troubleshooting. Two frequent cases:
takeover_declined: you took back control. The client asks again only if you want it to.
Assistants that run unattended on the device are gateways of the AI driver. Their state is in the /status and /event addresses of each conversation:
| Symptom | Cause | What to do |
|---|---|---|
/status = error |
The turn failed; /event carries the error. |
Read /event and the gateway log. |
/event carries awaiting_permission |
The assistant needed a permission it does not have. | Open the assistant's conversation in the AI panel and grant the permission (permanent grants are possible for driver assistants). |
| a turn is already running | One turn runs at a time per conversation. | Retry when /status is back to idle. |
| The AI driver requires the AI Connect (or FULL) licence on this box | The AI driver needs a product licence. | Contact support@weble.ch or order it on weble.ch. |
| API key mode without a key | The gateway is set to API key with no key saved. | Save a key in the gateway configuration or in the assistant's conversation, or switch the connection back to Built-in. |
More cases are listed in AI driver › Troubleshooting.
| Page | Description |
|---|---|
| AI assistant | Modes, models, permissions, conversations. |
| AI credits and credit licences | Balance, buying and attaching credits, refusal messages. |
| MCP: external AI clients | Connectors, takeover, who pays, client errors. |
| AI driver | Unattended assistants on the device. |