Skip to content

method.template_invalid

A template in the method is invalid

Type https://mthds.ai/errors/method.template_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 prompt, an expression or a construct template does not parse, cannot be read, or misuses an input or a filter. The problem's location gives the place.

What to do

Open the template at the place location names and correct it, checking each variable it reads against the pipe's inputs.

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 Correct the template '{template}' of pipe '{pipe}', then validate the method again.
Any other reader contact_owner Ask the method's owner to correct the template '{template}' of pipe '{pipe}'.

Detail

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

The template '{template}' of pipe '{pipe}' is invalid ({finding}).

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
pipe identifier The pipe at fault.
template identifier The template's field, such as the pipe's prompt.
finding caller_text What the check found.

See also