Skip to content

The data source is disabled

Type
https://pyeconomics.dev/problems/source-disabled
HTTP status
503
Exit code
7 (data unavailable)
Raised as
SourceDisabledError

What it means

The disabled_providers setting turns the source off, so it is refused before any request. A concept fails over to its next source; this problem means no source was left.

What to do

Remove the source from disabled_providers (or PYECONOMICS_DISABLED_PROVIDERS), or choose a concept another source serves.

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.