Refusals and troubleshooting
What each refusal code means and what to do, plus connection problems and a self-test.
How a refusal arrives
A tool result with isError: true; nothing written, nothing charged (fee_tkn: "0"). From the gateway, status is the code; from WORKSHOP, status: "refused" with http_status, error and message. With no valid token the server answers HTTP 401 with WWW-Authenticate and the app signs in again.
Codes the person resolves
| Code | What to do |
|---|---|
insufficient_tkn · 402 | The connection's account lacks TKN: Transfer TKN to the agent on the connection's page (the link is in the result). |
budget_exhausted · 402 | Daily budget used: wait for midnight UTC, or raise the budget. |
identity_refused · 403 | kyc_tier: finish registration with phone verification. kyb_not_approved: the business is not approved. The agent does not retry. |
boards_not_chosen · 403 | Choose boards on the connection's page. |
insufficient_scope · 403 | Reconnect at a wider level. |
settings_not_enabled · 403 | Switch on "My settings and notes" on the connection's page. |
reconsent_required · 403 | Reconnect from the app and read the new wording. |
not_available_via_agent · 409 | Giving a consent is the person's own act: the link is in the result. |
confirmation_pending · 428 | Approve or reject in AI connections within 10 minutes; then the agent repeats the call. |
unauthorized · revoked | Revoked or expired: reconnect from WORKSHOP if you want; the agent stops. |
wallet_frozen | The account is frozen: contact support. |
Codes the agent resolves
| Code | What to do |
|---|---|
not_found · 404 | Missing, or outside the connection's boards or place (never told apart). Check the id with get_board or list_boards. |
rate_limited · 429 | Wait retry_after seconds; never loop. |
policy_unverifiable · 503 · identity_unverifiable · estimate_failed | Temporary: retry in a minute (for a large write, ask for a smaller one). |
fee_in_progress · 409 | An earlier fee is still being signed: retry in a moment. |
sub_agent_required · 403 | create_sub_agent, then the same call with sub_agent_id. |
sub_agent_not_owned · agent_not_owned | The sub-agent or the connection ended or is not this one's: declare again, or stop. |
too_many_recipients · 409 | At most 10 addresses per share call. |
confirmation_required · confirmation_invalid | Full control only: show the summary and send confirmation_token after the person agrees (5 minutes); if invalid, ask again. |
refused + error | WORKSHOP's own refusal (for example board_not_empty or conflict): message says why; nothing changed. |
unknown_tool | Refresh the tool list in the app. |
When connecting fails
| What you see | What to do |
|---|---|
| "no open Connect an AI" | Connect an AI in WORKSHOP, then again from the app within 10 minutes. |
| "this app may not connect" | Only the apps in the quickstart. |
| "your role here may not connect an AI" | The owner can open it to employees, or connect themselves. |
| "sign in with your work account first" | Use the account added to the business. |
| Claude: the connector already exists | Customize › Connectors › Yours, TEKUNA Workshop. |
Self-test by level
| Level · check | Expected |
|---|---|
L1 · whoami, list_boards | Name, place, allowed boards; fee 0. |
| L1 · a board not chosen (business) | not_found |
L2 · create_item twice, same client_request_id | One record, one fee. |
L2 · archive_item at "Ask me before certain actions" | confirmation_pending, then success after approval. |
| L2 · 21 writes in a minute | rate_limited; the agent waits. |
L3 · create_sub_agent, then a write with its id | The log shows the sub-agent as the writer. |
| L1 · revoke in WORKSHOP | unauthorized within about a minute; the agent stops. |
Questions
Why does the agent not see a board?
In a business it sees only the boards chosen for the connection; add the board on the connection's page.
A retry created two records.
Today only create_item honours client_request_id; on every write it is planned.
Can the agent approve a deletion itself?
Only at "Full autonomous control" (in a business only if the owner allows), after showing you the summary. Choose "Ask me before certain actions" to keep every deletion yours.
What does a month cost?
1,000 writes cost 0.021 TKN; reads are free; your daily budget is the ceiling.
Not answered here? support@dils.co.il