method.invalid
The method does not validate
| Type | https://mthds.ai/errors/method.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
The umbrella refusal of a method that does not validate. It carries one item per fault in errors, each with its own code, and it is the refusal only when at least one of its items is a fault of the method itself.
What to do
Read each item of errors: its code says what is wrong and its location where. Fix them, then validate the method with POST /validate, which answers its verdict without running 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 |
Fix each fault the problem's errors list, then validate the method again. |
| Any other reader | contact_owner |
Ask the method's owner to fix the faults the problem's errors list. |
Detail
The problem's detail is written from this template, filled with the occurrence's parameters:
The method does not validate.
Parameters
This code declares no parameters, so its problems carry no params.
See also
- Validating a bundle
- Validation Rules
- Error Registry, which describes the members of this page
- Error Codes, every code of the core registry