Limits and errors
Refusals How to fix
A refusal means nothing was written. Each one says what to change: fix it and send the call again, with the same requestId if it's a create.
Nothing was written
A refusal is checked before anything is saved. The requestId is released, so after fixing the call you can send it again with the same id. The change isn't listed in the person's Recent changes by connected apps either.
Common refusals
| Refusal | Fix |
|---|---|
| "Invalid arguments for {tool}: check {field} ({rule}) … against the tool's input schema." | Fix each named field. Up to five are named, with the schema's rule. Your values are never repeated back. |
| "Invalid arguments for {tool}: {field} must be a single id from another Xale tool." | Send an id exactly as a Xale tool returned it: letters, digits, - and _, not a title or a path. |
| "New {kind} go to your default Area, which you keep away from connected apps. Choose an Area from xale_read_areas and send its id in areaIds." | Pick an Area with xale_ and send areaIds. |
| "That Area isn't available to this app." | An Area this save would use is kept away. Choose another. |
| "A quickblock needs a title." · "Send startAt for the block." | Add the missing field. |
| "A transition lasts 5 to 60 minutes, in steps of 5." | Fix durationMin. |
| "The person already has 5 recurring workflows running, the most Xale allows so reminders don't pile up. Ask which one to end first (xale_read_check_ins, xale_end_check_in)." | Ask the person which to end. |
| "{Kind} are at the Pro limit of {n}." | Tell the person; something has to be archived or removed in Xale first. |
Format refusals name the place
xale_ starts with Line n: and says what to change. xale_ and xale_ say what to fix in the OPML or Markdown. See List format and Mindmap format.
Removal refusals
xale_ says the next step each time:
| Reason | Message |
|---|---|
| Missing | "That removal wasn't found for this connection. Prepare it again with xale_prepare_removal." |
| Expired | "That preview expired after 30 minutes. Prepare it again with xale_prepare_removal and confirm with the person." |
| Already done | "That removal was already done." |
| Changed | "That preview no longer matches what's in Xale, so nothing was removed. Prepare it again and ask the person." |
| Busy | "That removal is already in progress. Check again in a moment." |
| Standing yes turned off | "The person's standing yes for removals was turned off. Ask them, then send their words in personSaid." |
| No yes | "Ask the person first, then send their words in personSaid. (Or, if they want you to stop asking each time, record that with xale_allow_removals.)" |
| Unattended run | "Not during an unattended run. Removals happen only while the person is in the chat and has said yes." |
Don't retry blindly
A refusal won't change on its own. Fix the call, or tell the person. The exceptions are the rate limit and "busy" answers, which do clear with time: see Rate limits · and retries.
- Checked against main
8aef9b15