Skip to content

The source's licence does not permit this use

Type
https://pyeconomics.dev/problems/licence-refused
HTTP status
403
Exit code
6 (not permitted (a licence refusal))
Raised as
LicenceError

What it means

The source's licence class does not permit this use. The hosted service serves only data whose terms allow it; the problem names the source and its terms page.

What to do

Run pyeconomics on your own machine, where library-only sources are read under your own access and your own key, or choose a hosted-safe source.

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.