Skip to content

The data source could not be reached

Type
https://pyeconomics.dev/problems/upstream-unavailable
HTTP status
502
Exit code
7 (data unavailable)
Raised as
TransportError

What it means

A request to the data source failed: a timeout, a refused connection or a server error at the source.

What to do

Try again later; if it persists, report it as an issue on GitHub.

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.