security.template_refused
A template was refused by the template sandbox
| Type | https://mthds.ai/errors/security.template_refused |
| Family | security: Refusals made for safety. An implementation may also record each one as a security event. |
| 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 method's template reached for a private name or a call that the template sandbox forbids.
What to do
Use only the pipe's inputs and the filters the template language offers in its templates.
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 '{name}' from the templates of pipe '{pipe}', then run the method again. |
| Any other reader | contact_owner |
Ask the method's owner to remove '{name}' from the templates of pipe '{pipe}'. |
Detail
The problem's detail is written from this template, filled with the occurrence's parameters:
A template of pipe '
{pipe}' reached for '{name}', which the template sandbox forbids.
Parameters
Every parameter is present on every occurrence of the code.
| Name | Type | Description |
|---|---|---|
pipe |
identifier |
The pipe whose template was refused. |
name |
identifier |
The name or the call the template reached for. |
See also
- Error Registry, which describes the members of this page
- Error Codes, every code of the core registry