Skip to content

NotFoundError

adasThePrime edited this page Apr 13, 2026 · 2 revisions

NotFoundError

Raised on HTTP 404 or when a symbol/resource is not found.

from pyahoo import NotFoundError
# or
from pyahoo.exceptions import NotFoundError

Note

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.

Hierarchy

PyahooError
├── AuthenticationError
├── APIError
│  ├── RateLimitError
│  └── NotFoundError    <- You are here
└── StreamingError

Attributes

  • status_code (int): HTTP status code, always 404.

Clone this wiki locally