Offline mode has no cached copy
- Type
https://pyeconomics.dev/problems/offline-cache-miss- HTTP status
- 503
- Exit code
- 7 (data unavailable)
- Raised as
OfflineError
What it means
Offline mode serves only the cache, and the cache has no copy of the data asked for.
What to do
Turn offline mode off and fetch the data once, or ask for data the cache already holds.
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.