Skip to content

pipe.template_budget_exceeded

A template exceeded its render budget

Type https://mthds.ai/errors/pipe.template_budget_exceeded
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

A method's template tried to allocate or compute more than one render may, such as a loop over too many items or an output too long.

What to do

Simplify the template, or move the work it does into a pipe of its own, such as a PipeBatch over the items it loops on.

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 the template of pipe '{pipe}' do less in one render, then run the method again.
Any other reader contact_owner Ask the method's owner to make the template of pipe '{pipe}' do less in one render.

Detail

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

A template of pipe '{pipe}' passed its render budget in a {operation} operation (limit {limit}).

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
pipe identifier The pipe whose template passed the budget.
operation one of repeat, pad, join, loop, recursion, output The kind of operation that passed the budget.
limit integer The bound it passed.

See also