Skip to content

[0.2.57] YFRateLimitError('Too Many Requests #2422

Description

@bubbleboy021

Describe bug

This error just returned on a query (2025-04-29). I've tried using different IP addresses, so it's not my account hitting a rate limiter.

"Failed download:
['^GSPC']: YFRateLimitError('Too Many Requests. Rate limited. Try after a while.')"

Simple code that reproduces your problem

yf.download('^GSPC', multi_level_index=False)

Debug log from yf.enable_debug_mode()

YF.download() has changed argument auto_adjust default to True
[100%**] 1 of 1 completed

1 Failed download:
['^GSPC']: YFRateLimitError('Too Many Requests. Rate limited. Try after a while.')

Bad data proof

No response

yfinance version

0.2.57

Python version

3.10.4

Operating system

OSX

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions