Skip to content

KeyError crash when viewing video (may be due to content warning / age restriction?) #1213

@robertknight

Description

@robertknight

Attempting to view https://www.youtube.com/watch?v=oIWqTIFRlYU in Via (https://via.hypothes.is/https://www.youtube.com/watch?v=oIWqTIFRlYU) results in a 5xx error from our backend: .

Error details from the response:

{
    "errors": [
        {
            "status": 500,
            "code": "KeyError",
            "title": "Something went wrong",
            "detail": "'captions'"
        }
    ]
}

This video does have an auto-generated transcript available on YouTube itself. The video is preceded by a content warning (it is about the Israel-Palestine conflict), which might be related.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions