Skip to content

Exceptions

gopro_api.exceptions.NoVariationsError

Bases: Exception

Raised when video download metadata lists zero renditions.

Typical cause: _embedded.variations is empty while the media filename is treated as video (for example .mp4).

Source code in gopro_api/exceptions.py
 8
 9
10
11
12
13
class NoVariationsError(Exception):
    """Raised when video download metadata lists zero renditions.

    Typical cause: ``_embedded.variations`` is empty while the media filename
    is treated as video (for example ``.mp4``).
    """