All data except for fileName disappears from fileDetails in a couple of days after uploading the video
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
add a comment |
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
1
Have you checked if theprocessingDetails.fileAvailability
property has a value of available? ThefileDetails
object will only be returned if this property has a value.
– jess
Nov 22 '18 at 8:08
@jess, you are right!processingDetails.fileAvailability
returnsterminated
now. Do you know any reason why the availability becomesterminated
?
– nopopon
Nov 22 '18 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 toterminated
:-(
– nopopon
Nov 22 '18 at 12:18
1
It means that the channel was terminated due to various factors like copyright claim, invalid clicks, Community guidelines strikes etc.
– jess
Nov 26 '18 at 2:17
add a comment |
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
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
youtube-api youtube-data-api youtube-api-v3
edited Nov 21 '18 at 22:47
nopopon
asked Nov 21 '18 at 22:11
nopoponnopopon
12925
12925
1
Have you checked if theprocessingDetails.fileAvailability
property has a value of available? ThefileDetails
object will only be returned if this property has a value.
– jess
Nov 22 '18 at 8:08
@jess, you are right!processingDetails.fileAvailability
returnsterminated
now. Do you know any reason why the availability becomesterminated
?
– nopopon
Nov 22 '18 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 toterminated
:-(
– nopopon
Nov 22 '18 at 12:18
1
It means that the channel was terminated due to various factors like copyright claim, invalid clicks, Community guidelines strikes etc.
– jess
Nov 26 '18 at 2:17
add a comment |
1
Have you checked if theprocessingDetails.fileAvailability
property has a value of available? ThefileDetails
object will only be returned if this property has a value.
– jess
Nov 22 '18 at 8:08
@jess, you are right!processingDetails.fileAvailability
returnsterminated
now. Do you know any reason why the availability becomesterminated
?
– nopopon
Nov 22 '18 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 toterminated
:-(
– nopopon
Nov 22 '18 at 12:18
1
It means that the channel was terminated due to various factors like copyright claim, invalid clicks, Community guidelines strikes etc.
– jess
Nov 26 '18 at 2:17
1
1
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 '18 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 '18 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 '18 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 '18 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 '18 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 '18 at 12:18
1
1
It means that the channel was terminated due to various factors like copyright claim, invalid clicks, Community guidelines strikes etc.
– jess
Nov 26 '18 at 2:17
It means that the channel was terminated due to various factors like copyright claim, invalid clicks, Community guidelines strikes etc.
– jess
Nov 26 '18 at 2:17
add a comment |
1 Answer
1
active
oldest
votes
I'm aware that YouTube has a system which automatically detects copyright infringements, however, this issue seems to happen randomly even when we don't violate any copyright of others. (happens with our original videos too)
We finally decided to cache fileDetail
on our backend.
add a comment |
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',
autoActivateHeartbeat: false,
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I'm aware that YouTube has a system which automatically detects copyright infringements, however, this issue seems to happen randomly even when we don't violate any copyright of others. (happens with our original videos too)
We finally decided to cache fileDetail
on our backend.
add a comment |
I'm aware that YouTube has a system which automatically detects copyright infringements, however, this issue seems to happen randomly even when we don't violate any copyright of others. (happens with our original videos too)
We finally decided to cache fileDetail
on our backend.
add a comment |
I'm aware that YouTube has a system which automatically detects copyright infringements, however, this issue seems to happen randomly even when we don't violate any copyright of others. (happens with our original videos too)
We finally decided to cache fileDetail
on our backend.
I'm aware that YouTube has a system which automatically detects copyright infringements, however, this issue seems to happen randomly even when we don't violate any copyright of others. (happens with our original videos too)
We finally decided to cache fileDetail
on our backend.
answered Dec 9 '18 at 20:08
nopoponnopopon
12925
12925
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
1
Have you checked if the
processingDetails.fileAvailability
property has a value of available? ThefileDetails
object will only be returned if this property has a value.– jess
Nov 22 '18 at 8:08
@jess, you are right!
processingDetails.fileAvailability
returnsterminated
now. Do you know any reason why the availability becomesterminated
?– nopopon
Nov 22 '18 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 '18 at 12:18
1
It means that the channel was terminated due to various factors like copyright claim, invalid clicks, Community guidelines strikes etc.
– jess
Nov 26 '18 at 2:17