Skip to content

input.unexpected

An input the method does not declare

Type https://mthds.ai/errors/input.unexpected
Family input: A run's inputs.
Domain input: the caller acts, by changing the request or its inputs
Retry no: repeating the operation fails the same way
HTTP status 422
Raised as a problem document, sent as the body of an HTTP response or kept in a run's record

What it means

The request carries an input that the selected pipe does not declare.

What to do

Check the input's name against the pipe's declared inputs, for a misspelling in particular, and send only those.

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 Remove the input '{input}' from the request, or give it under the name the method declares, then send the request again.
Any other reader change_input Pass this to the caller, who must remove the input '{input}' from the request.

Detail

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

The request gives the input '{input}', which the method does not declare.

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
input identifier The input the request gives and the method does not declare.

See also