Skip to content

pipe.forced_input_absent

A forced input was absent

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

An input the method forces with !, asserting that it is always present at that point, resolved absent at run time.

What to do

Remove the ! and guard the input where it is read, or make sure an earlier step always produces it.

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 Remove the '!' on '{variable}' and handle its absence, then run the method again.
Any other reader contact_owner Ask the method's owner to handle the absence of '{variable}' in pipe '{pipe}'.

Detail

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

Pipe '{pipe}' forces '{variable}' with '!', and it was absent in this run.

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
pipe identifier The pipe forcing the input.
variable identifier The forced input.

See also