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

Occasional request 404 #116

Closed
NescienceSoftware opened this issue Oct 8, 2019 · 4 comments
Closed

Occasional request 404 #116

NescienceSoftware opened this issue Oct 8, 2019 · 4 comments

Comments

@NescienceSoftware
Copy link

I had been running with no issues for the past couple weeks but starting this past monday on the rara occasion a 404 pops up when calling asset prices from polygon with the sandbox/ paper trading API

"requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.polygon.io/v1/last/stocks/XLU?apiKey=PKH47JEKAPDBW0D74MAY"

Could this be a result of rate limitation or is it just simple 404 from polygon?

@CapitalZe
Copy link

I'm experiencing similar, as posted here.

Any help would be much appreciated.

@CapitalZe
Copy link

A fresh install solved it for me.

@NescienceSoftware
Copy link
Author

I implemented a small rate limitation + added try loops to the affected portions. The 404 was only occasional so I am not sure if it still happens with the rate limitation or it is just worked around by the try loop.

@umitanuki
Copy link
Contributor

I will relay it to Polygon.

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

3 participants