Skip to content

The data cannot answer this request

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

What it means

The data cannot answer this request: too few observations for a window, no observation on or before the date, or a vintage the source does not keep.

What to do

Choose another date, a shorter window or another concept; the detail names what was missing.

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.