Skip to content

method.input_undeclared

A pipe reads an input it does not declare

Type https://mthds.ai/errors/method.input_undeclared
Family method: The method as written, the validation vocabulary included.
Domain method: the method's author acts, by changing the method
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

A template or a step reads a variable that the pipe's inputs do not declare.

What to do

Add each of params.variables to the pipe's inputs with its concept, or correct the name the template reads.

Next steps

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

Reader Kind Detail
The domain's actor change_method Declare what pipe '{pipe}' reads in its inputs, or stop reading it, then validate the method again.
Any other reader contact_owner Ask the method's owner to declare the inputs pipe '{pipe}' reads.

Detail

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

Pipe '{pipe}' reads names its inputs do not declare: {variables}.

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
pipe identifier The pipe at fault.
variables list of identifier The names it reads and does not declare.

See also