DCF
DCF copied to clipboard
403
urllib.error.HTTPError: HTTP Error 403:
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)
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?
Can you post the code to recreate the error? Thanks!
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.