method.optional_marker_invalid
An optional marker is misplaced
| Type | https://mthds.ai/errors/method.optional_marker_invalid |
| 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 presence marker sits where the language does not allow one, such as a ? on a plural reference or a ! on an output.
What to do
Read where ? and ! may appear, and move or remove the marker.
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 or move the marker at '{field_path}', then validate the method again. |
| Any other reader | contact_owner |
Ask the method's owner to fix the presence marker at '{field_path}'. |
Detail
The problem's detail is written from this template, filled with the occurrence's parameters:
Pipe '
{pipe}' carries a presence marker at '{field_path}', where the language does not allow one.
Parameters
Every parameter is present on every occurrence of the code.
| Name | Type | Description |
|---|---|---|
pipe |
identifier |
The pipe at fault. |
field_path |
identifier |
Where the marker sits, as a key path. |
See also
- Optionality
- Error Registry, which describes the members of this page
- Error Codes, every code of the core registry