youtube - 503 Google API Error, possible limit on requests? Should we setup a Retry? -
we getting below error message intermittently our customers pushing videos youtube, using api version 3. there limit how many videos can uploaded @ time? if so, limit?
if reach limit, can set retry until able upload again?
error message:
upload attempt failed. additional debug info: <httperror 503 when requesting https://www.googleapis.com/upload/youtube/v3/videos?uploadtype=resumable&alt=json&part=snippet%2cstatus returned "backend error"> item : using groups manage resources v5.x tmp_vid_path: /mnt/tmp/vid-distro-232-youtube-raw.mp4 we using:
youtube_api_service_name = "youtube" youtube_api_version = "v3" here meat of upload video call:
youtube_service = get_yt_service(credential) result = youtube_service.videos().insert(part="snippet,status", body=body, media_body=media_body) please note get_yt_service() wrapper build function, imported apiclient.discovery
Comments
Post a Comment