hypothesis / hypothesis/via

Return 4xx status if fetching WebVTT / SRT transcript fails

Open
#1,298 0 comments 0 reactions 0 assignees View on GitHub
project: video annotations
Dominant language
Python
Stars
29
Forks
13
PR merge metrics
No merged PRs in 30d

Description

With the initial implementation of web video supported added in https://github.com/hypothesis/via/pull/1294, an incorrect WebVTT / SRT URL passed as the `.vtt` parameter will result in a 5xx error from the `/api/transcript` endpoint. This should instead produce a 4xx error so we can treat it appropriately in monitoring etc.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.