Skip to content

Problem types

Every pyeconomics surface reports a failure as a problem in the form of RFC 9457. Its type is the address of one of these pages.

ProblemHTTP statusExit code
The inputs are not validinvalid-input4223
The inputs are too largeinput-too-large4133
The inputs have no defined resultno-defined-result4224
The numerical method found no answerno-convergence4224
No such modelmodel-not-found4045
No such data providerprovider-not-found4045
No such catalog conceptconcept-not-found4045
No such seriesseries-not-found4045
The source's terms do not let its data reach a language modelllm-use-forbidden4036
The source's licence does not permit this uselicence-refused4036
The AI narrative is turned offnarrative-disabled4036
The hosted service does not write AI narrativesnarrative-not-hosted4036
A credential the source needs is missing or refusedcredential-unavailable5037
The data source could not be reachedupstream-unavailable5027
The data source sent a response that could not be readupstream-invalid-response5027
The data source's rate limit was reachedupstream-rate-limited5037
Offline mode has no cached copyoffline-cache-miss5037
The data source is disabledsource-disabled5037
The hosted snapshot does not hold this datanot-in-snapshot4047
The data cannot answer this requestdata-unavailable4227
An optional dependency is not installedmissing-extra5018
The run exceeded its time budgetbudget-exceeded4221
No such routeroute-not-found4045
The route does not take this methodmethod-not-allowed4051
This server does not answer for that hosthost-not-allowed4001
The server is busyserver-busy5031
The request did not come through the service's edgeedge-required4031
This client sent too many requeststoo-many-requests4291
The rate limits cannot be checkedlimits-unavailable5031
The model registry is inconsistentregistry-error5001
A setting is invalidinvalid-configuration5001
pyeconomics could not complete the requestpyeconomics-error5001
Internal errorinternal-error5001