-
Notifications
You must be signed in to change notification settings - Fork 0
NotFoundError
adasThePrime edited this page Apr 13, 2026
·
2 revisions
Raised on HTTP 404 or when a symbol/resource is not found.
from pyahoo import NotFoundError
# or
from pyahoo.exceptions import NotFoundErrorNote
In most cases, this error will be raised only when a single symbol/resource is requested and not found. When multiple symbols/resources are requested, you will likely receive a TrackedList to track the missing items.
PyahooError
├── AuthenticationError
├── APIError
│ ├── RateLimitError
│ └── NotFoundError <- You are here
└── StreamingError
-
status_code (
int): HTTP status code, always 404.