Skip to content

pipe.condition_refused

The method refused these inputs

Type https://mthds.ai/errors/pipe.condition_refused
Family pipe: A pipe failing at run time because of what the method does.
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

A PipeCondition chose an outcome that the method maps to failure, so the method itself refuses these inputs.

What to do

Read what the method expects of its inputs, from its description or its author, and send inputs it accepts.

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 Change the inputs so that the method accepts them, then send the request again.
Any other reader change_input Pass this to the caller, whose inputs the method refuses.

Detail

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

Pipe '{pipe}' chose the outcome '{outcome}', which the method maps to a refusal of these inputs.

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
pipe identifier The PipeCondition that refused.
outcome identifier The outcome it chose.

See also