Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

403 #6

Open
taipun opened this issue Nov 3, 2021 · 4 comments
Open

403 #6

taipun opened this issue Nov 3, 2021 · 4 comments

Comments

@taipun
Copy link

taipun commented Nov 3, 2021

urllib.error.HTTPError: HTTP Error 403:

@berkes
Copy link

berkes commented Nov 10, 2021

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)

@taipun
Copy link
Author

taipun commented Nov 10, 2021

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?

@halessi
Copy link
Owner

halessi commented Jan 29, 2022

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

@timojuez
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants