All data except for fileName disappears from fileDetails in a couple of days after uploading the video











up vote
0
down vote

favorite












I'm using YouTube Data API (v3) to access my own video info.
Everything worked fine, I could get fileDetails.fileSize, fileDetails.videoStreams etc. as I expected.
However, in a couple of days after I uploaded the video, the same API returns only fileDetails.fileName and no other info anymore.



Now returned json looks like this:



"fileDetails": {
"fileName": "test movie.mp4"
}


Here is my request URL:



https://www.googleapis.com/youtube/v3/videos?part=fileDetails&id=__my_video_id__


The video is owned by my account with which I did OAuth and got an access token.



I tried the URL on OAuth 2.0 Playground (https://developers.google.com/oauthplayground/), but I got the same result though once it returned all data when I tried it on the day I uploaded the video.



I wonder it might be related to the video visibility since I set it to unlisted so that others won't find my test video by searching.



Any info is welcome!





Edited:



The video itself doesn't have any problem. I can play it on YouTube and via YouTube iframe API also.










share|improve this question
























  • Have you checked if the processingDetails.fileAvailability property has a value of available? The fileDetails object will only be returned if this property has a value.
    – jess
    Nov 22 at 8:08










  • @jess, you are right! processingDetails.fileAvailability returns terminated now. Do you know any reason why the availability becomes terminated?
    – nopopon
    Nov 22 at 12:08










  • The strange point is, it should have been processed successfully once, otherwise I shouldn't be able to retrieve fileDetails at all. For some reason, at some point, the availability changes to terminated :-(
    – nopopon
    Nov 22 at 12:18










  • It means that the channel was terminated due to various factors like copyright claim, invalid clicks, Community guidelines strikes etc.
    – jess
    yesterday















up vote
0
down vote

favorite












I'm using YouTube Data API (v3) to access my own video info.
Everything worked fine, I could get fileDetails.fileSize, fileDetails.videoStreams etc. as I expected.
However, in a couple of days after I uploaded the video, the same API returns only fileDetails.fileName and no other info anymore.



Now returned json looks like this:



"fileDetails": {
"fileName": "test movie.mp4"
}


Here is my request URL:



https://www.googleapis.com/youtube/v3/videos?part=fileDetails&id=__my_video_id__


The video is owned by my account with which I did OAuth and got an access token.



I tried the URL on OAuth 2.0 Playground (https://developers.google.com/oauthplayground/), but I got the same result though once it returned all data when I tried it on the day I uploaded the video.



I wonder it might be related to the video visibility since I set it to unlisted so that others won't find my test video by searching.



Any info is welcome!





Edited:



The video itself doesn't have any problem. I can play it on YouTube and via YouTube iframe API also.










share|improve this question
























  • Have you checked if the processingDetails.fileAvailability property has a value of available? The fileDetails object will only be returned if this property has a value.
    – jess
    Nov 22 at 8:08










  • @jess, you are right! processingDetails.fileAvailability returns terminated now. Do you know any reason why the availability becomes terminated?
    – nopopon
    Nov 22 at 12:08










  • The strange point is, it should have been processed successfully once, otherwise I shouldn't be able to retrieve fileDetails at all. For some reason, at some point, the availability changes to terminated :-(
    – nopopon
    Nov 22 at 12:18










  • It means that the channel was terminated due to various factors like copyright claim, invalid clicks, Community guidelines strikes etc.
    – jess
    yesterday













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm using YouTube Data API (v3) to access my own video info.
Everything worked fine, I could get fileDetails.fileSize, fileDetails.videoStreams etc. as I expected.
However, in a couple of days after I uploaded the video, the same API returns only fileDetails.fileName and no other info anymore.



Now returned json looks like this:



"fileDetails": {
"fileName": "test movie.mp4"
}


Here is my request URL:



https://www.googleapis.com/youtube/v3/videos?part=fileDetails&id=__my_video_id__


The video is owned by my account with which I did OAuth and got an access token.



I tried the URL on OAuth 2.0 Playground (https://developers.google.com/oauthplayground/), but I got the same result though once it returned all data when I tried it on the day I uploaded the video.



I wonder it might be related to the video visibility since I set it to unlisted so that others won't find my test video by searching.



Any info is welcome!





Edited:



The video itself doesn't have any problem. I can play it on YouTube and via YouTube iframe API also.










share|improve this question















I'm using YouTube Data API (v3) to access my own video info.
Everything worked fine, I could get fileDetails.fileSize, fileDetails.videoStreams etc. as I expected.
However, in a couple of days after I uploaded the video, the same API returns only fileDetails.fileName and no other info anymore.



Now returned json looks like this:



"fileDetails": {
"fileName": "test movie.mp4"
}


Here is my request URL:



https://www.googleapis.com/youtube/v3/videos?part=fileDetails&id=__my_video_id__


The video is owned by my account with which I did OAuth and got an access token.



I tried the URL on OAuth 2.0 Playground (https://developers.google.com/oauthplayground/), but I got the same result though once it returned all data when I tried it on the day I uploaded the video.



I wonder it might be related to the video visibility since I set it to unlisted so that others won't find my test video by searching.



Any info is welcome!





Edited:



The video itself doesn't have any problem. I can play it on YouTube and via YouTube iframe API also.







youtube-api youtube-data-api youtube-api-v3






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 21 at 22:47

























asked Nov 21 at 22:11









nopopon

10914




10914












  • Have you checked if the processingDetails.fileAvailability property has a value of available? The fileDetails object will only be returned if this property has a value.
    – jess
    Nov 22 at 8:08










  • @jess, you are right! processingDetails.fileAvailability returns terminated now. Do you know any reason why the availability becomes terminated?
    – nopopon
    Nov 22 at 12:08










  • The strange point is, it should have been processed successfully once, otherwise I shouldn't be able to retrieve fileDetails at all. For some reason, at some point, the availability changes to terminated :-(
    – nopopon
    Nov 22 at 12:18










  • It means that the channel was terminated due to various factors like copyright claim, invalid clicks, Community guidelines strikes etc.
    – jess
    yesterday


















  • Have you checked if the processingDetails.fileAvailability property has a value of available? The fileDetails object will only be returned if this property has a value.
    – jess
    Nov 22 at 8:08










  • @jess, you are right! processingDetails.fileAvailability returns terminated now. Do you know any reason why the availability becomes terminated?
    – nopopon
    Nov 22 at 12:08










  • The strange point is, it should have been processed successfully once, otherwise I shouldn't be able to retrieve fileDetails at all. For some reason, at some point, the availability changes to terminated :-(
    – nopopon
    Nov 22 at 12:18










  • It means that the channel was terminated due to various factors like copyright claim, invalid clicks, Community guidelines strikes etc.
    – jess
    yesterday
















Have you checked if the processingDetails.fileAvailability property has a value of available? The fileDetails object will only be returned if this property has a value.
– jess
Nov 22 at 8:08




Have you checked if the processingDetails.fileAvailability property has a value of available? The fileDetails object will only be returned if this property has a value.
– jess
Nov 22 at 8:08












@jess, you are right! processingDetails.fileAvailability returns terminated now. Do you know any reason why the availability becomes terminated?
– nopopon
Nov 22 at 12:08




@jess, you are right! processingDetails.fileAvailability returns terminated now. Do you know any reason why the availability becomes terminated?
– nopopon
Nov 22 at 12:08












The strange point is, it should have been processed successfully once, otherwise I shouldn't be able to retrieve fileDetails at all. For some reason, at some point, the availability changes to terminated :-(
– nopopon
Nov 22 at 12:18




The strange point is, it should have been processed successfully once, otherwise I shouldn't be able to retrieve fileDetails at all. For some reason, at some point, the availability changes to terminated :-(
– nopopon
Nov 22 at 12:18












It means that the channel was terminated due to various factors like copyright claim, invalid clicks, Community guidelines strikes etc.
– jess
yesterday




It means that the channel was terminated due to various factors like copyright claim, invalid clicks, Community guidelines strikes etc.
– jess
yesterday

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53421149%2fall-data-except-for-filename-disappears-from-filedetails-in-a-couple-of-days-aft%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53421149%2fall-data-except-for-filename-disappears-from-filedetails-in-a-couple-of-days-aft%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Catalogne

Violoncelliste

Héron pourpré