This was working fine yesterday, but fails today. Are there ways I can avoid this? Here is my code: where service is an oauth authenticated service to upload videos, and upload is a valid &youtube.Video. Also, reader is a pointer to the file object of the mp4 video to upload.
option = googleapi.ChunkSize(googleapi.DefaultUploadChunkSize)
call := service.Videos.Insert("snippet,status,recordingDetails", upload)
video, err = call.Media(reader, option).Do()
Thanks for any help.