You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the frontend uses the youtube embed API to (https://www.youtube.com/oembed?url=) display video info like title and uploader before submission to our API server.
if the video has embedding disabled, that endpoint will return 401 unauthorized and because of our error handling, the whole video will be unable to be submitted via the frontend. manually submitting it via the API works fully normally.
we need to handle the following errors returned by youtube's oembed endpoint:
400 bad request
401 unauthorized
404 not found
The text was updated successfully, but these errors were encountered:
the frontend uses the youtube embed API to (
https://www.youtube.com/oembed?url=
) display video info like title and uploader before submission to our API server.if the video has embedding disabled, that endpoint will return
401 unauthorized
and because of our error handling, the whole video will be unable to be submitted via the frontend. manually submitting it via the API works fully normally.we need to handle the following errors returned by youtube's oembed endpoint:
400 bad request
401 unauthorized
404 not found
The text was updated successfully, but these errors were encountered: