Skip to content

The run exceeded its time budget

Type
https://pyeconomics.dev/problems/budget-exceeded
HTTP status
422
Exit code
1 (internal error)
Raised as
BudgetExceededError

What it means

A hosted run took longer than its model's time budget and was stopped.

What to do

Run the model on your own machine, where no budget applies, with the inputs in a JSON file.

On your own machine, put the inputs in a JSON file and run:

pyeconomics models run <model-id> --inputs FILE

Every pyeconomics surface reports a failure as a problem in the form of RFC 9457: its type, title, HTTP status and detail, and the exit code the command line returns. A problem never holds a key, a file path, a host or an upstream URL. Every problem type.