Skip to content

client.argument_invalid

An argument was refused before sending

Type https://mthds.ai/errors/client.argument_invalid
Family client: What a client detects itself, and never receives as a response body.
Domain input: the caller acts, by changing the request or its inputs
Retry no: repeating the operation fails the same way
HTTP status none (client)
Raised as an error a client detects itself, never received from a runner

What it means

The client refused the arguments of a call, a command or a tool before any request left.

What to do

Read the call's documentation for the argument and correct it.

Next steps

A problem carries the step aimed at whoever reads it: the first when its reader is the domain's actor, the caller, and the second for any other reader.

Reader Kind Detail
The domain's actor change_input Correct the argument '{argument}', then try again.
Any other reader change_input Correct the argument '{argument}', then try again.

Detail

The problem's detail is written from this template, filled with the occurrence's parameters:

The argument '{argument}' was refused before any request left (reason: {reason}).

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
argument identifier The argument refused.
reason identifier Why it was refused.

See also