Error signatures
Streamed error payload example
When a tool execution fails, the error is delivered as a JSON-RPC response over SSE withisError: true:
Detailed error reference
Insufficient AED wallet balance
Insufficient AED wallet balance
This error occurs when
lexera_route_to_specialist attempts to place a temporary hold on the corporate AED wallet and the balance is below the required tier. The streamed payload includes the exact amount needed (for example, AED 699.00 for UAE).Resolution: Contact a workspace finance administrator to add a corporate wallet credit, then retry the dispatch.Invalid inputs (Zod Error)
Invalid inputs (Zod Error)
This error occurs when the JSON-RPC
params.arguments object does not match the tool’s schema. Common causes include missing required fields (such as document_text or target_jurisdiction), incorrect types, or typos in argument names.Resolution: Inspect the path and expected fields in the error payload to identify which argument is invalid, then correct the payload and retry.