Error · 422
command_blocked
This command is not allowed on the shell
What happened
The command is not one the shell channel will run. The refusal happens before anything reaches the server.
What to do
Read recovery.hint in the response body: it names what was refused. Use the tool built for that operation instead.
The response body carries a recovery object with the same guidance in machine-readable
form: recovery.action names the call to make next, and
recovery.hint is one sentence a model can act on. Not every code carries one — a
401, for instance, has nothing to recover to but a valid token.
Other 422 responses
-
validation_failed— The request failed validation -
password_too_weak— The password does not meet the policy -
job_not_allowed— That background job is not on the allow-list