-
Notifications
You must be signed in to change notification settings - Fork 0
APIError
adasThePrime edited this page Apr 13, 2026
·
1 revision
Raised when the Yahoo Finance API returns an error in the response body, or when the HTTP status code indicates a failure (>= 400).
from pyahoo import APIError
# or
from pyahoo.exceptions import APIErrorPyahooError
├── AuthenticationError
├── APIError <- You are here
│ ├── RateLimitError
│ └── NotFoundError
└── StreamingError
-
status_code (
int): HTTP status code. -
response_body (
dict, optional): Raw response body.