pipe.output_invalid
A pipe's output does not fit its concept
| Type | https://mthds.ai/errors/pipe.output_invalid |
| 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
What a pipe produced fails its declared concept's structure, such as a required field that is missing or a value of the wrong type.
What to do
Compare the pipe's output with the concept's structure at params.fields, then change the pipe, its prompt or its function, or the concept, so that they agree.
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 |
Make pipe '{pipe}' produce an output that fits '{output_concept}', or loosen the concept, then run the method again. |
| Any other reader | contact_owner |
Ask the method's owner to make pipe '{pipe}' produce an output that fits its concept. |
Detail
The problem's detail is written from this template, filled with the occurrence's parameters:
Pipe '
{pipe}' produced an output that does not fit the concept '{output_concept}', at the fields{fields}.
Parameters
Every parameter is present on every occurrence of the code.
| Name | Type | Description |
|---|---|---|
pipe |
identifier |
The pipe at fault. |
output_concept |
identifier |
The concept the output is declared as. |
fields |
list of identifier |
The fields of the output that fail the concept's structure. |
See also
- Concepts
- Error Registry, which describes the members of this page
- Error Codes, every code of the core registry