DCF icon indicating copy to clipboard operation
DCF copied to clipboard

403

Open taipun opened this issue 3 years ago • 4 comments

urllib.error.HTTPError: HTTP Error 403:

taipun avatar Nov 03 '21 14:11 taipun

Sounds like you don't have a verified API-key. Is that the case?

I can confirm that I get the same error when I leave out the --apikey from the arguments (and don't have it exported as ENV var either)

berkes avatar Nov 10 '21 13:11 berkes

I already put my API key in --apikey but I am not sure if it was verified or not did I need to upgrade my plan sir?

taipun avatar Nov 10 '21 13:11 taipun

Can you post the code to recreate the error? Thanks!

halessi avatar Jan 29 '22 20:01 halessi

You should definitely print out the error response in data.py where response = urlopen(url) in case of an exception. Quarterly data like in the example is not supported for the free plan. Use --i 'annual' instead. This solved it for me.

timojuez avatar May 18 '22 08:05 timojuez