Status Update
Comments
sn...@google.com <sn...@google.com>
sn...@google.com <sn...@google.com> #3
Hi,
Thank you for quick response. Yes, I actually copied curl code above from the API explorer.
I also tried with Python code below:
request = youtube.search().list(
part="snippet",
maxResults=50,
order="viewCount",
publishedAfter="2024-09-01T00:00:00Z",
q="artificial intelligence",
videoPaidProductPlacement="true",
)
response = request.execute()
return response
This also gave me invalid parameter error:
TypeError: Got an unexpected keyword argument videoPaidProductPlacement
sn...@google.com <sn...@google.com> #4
Hello,
I wanted to check if there are any updates regarding this issue, as it is critical for my application. Could you share whether it's planned to be resolved and if there is an estimated timeline for a fix?
I would greatly appreciate any insights you can provide.
Thank you for your time and support.
ef...@gmail.com <ef...@gmail.com> #5
ja...@destiny.gg <ja...@destiny.gg> #6
Unfortunately, I can't verify the issue using the API Explorer. The channel's name is fileDetails
with just an API key.
I was able to verify the issue in my Postman workspace, however.
In regard to fileDetails
being completely empty for live broadcasts, I just noticed the docs state that
The
fileDetails
object will only be returned if theprocessingDetails.fileAvailability
property has a value ofavailable
.
The fileDetailsAvailability
for the user's current broadcast is inProgress
(relevant snippet below), so I no longer think this is a bug. Regardless, I know for a fact that live broadcasts always had fileDetails
and a fileName
of livestream.str
prior to the 13th.
{
...
"processingDetails": {
"processingStatus": "processing",
"fileDetailsAvailability": "inProgress",
"processingIssuesAvailability": "inProgress",
"tagSuggestionsAvailability": "inProgress",
"editorSuggestionsAvailability": "inProgress",
"thumbnailsAvailability": "inProgress"
}
...
}
sn...@google.com <sn...@google.com> #7
Thanks for sharing all the details! That's correct, The fileDetails object will only be returned if the processingDetails.fileAvailability
property has a value of available. Since the user's current broadcast is inProgress
this is working as expected.
ja...@destiny.gg <ja...@destiny.gg> #8
I think you closed the issue too quickly. To clarify, there's no bug in regard to fileDetails
being empty for live broadcasts, but that's something secondary I brought up because it started happening at the exact same time as the real issue: fileDetails.fileName
is completely gone.
ja...@destiny.gg <ja...@destiny.gg> #9
Here's the full payload for the video I linked in an earlier comment to better illustrate. Notice that processing is complete. Where's fileDetails.fileName
?
{
"kind": "youtube#videoListResponse",
"etag": "UxKJHshfFKjI-JCIWV3o7XKx_Xc",
"items": [
{
"kind": "youtube#video",
"etag": "TafiPqJ2mUgAkLiKF5BEATvHSsA",
"id": "yF8AWDgm0W0",
"snippet": {
"publishedAt": "2024-12-14T03:20:04Z",
"channelId": "UC554eY5jNUfDq3yDOJYirOQ",
"title": "chillin'",
"description": "Date streamed December 14th, 2024\n\nClick▼\r\n\r\nFollow Destiny\r\n►STREAM - http://www.kick.com/Destiny\r\n►DISCORD - https://discordapp.com/invite/destiny\r\n►TWITTER - https://twitter.com/TheOmniLiberal\r\n►KICK - https://kick.com/Destiny\r\n►REDDIT - https://www.reddit.com/r/Destiny\r\n►INSTAGRAM - https://www.instagram.com/destiny\r\n\r\nCheck Out My Amazon: www.amazon.com/shop/destiny\r\nBuy My Merch: https://shop.destiny.gg/",
"thumbnails": {
"default": {
"url": "https://i.ytimg.com/vi/yF8AWDgm0W0/default.jpg",
"width": 120,
"height": 90
},
"medium": {
"url": "https://i.ytimg.com/vi/yF8AWDgm0W0/mqdefault.jpg",
"width": 320,
"height": 180
},
"high": {
"url": "https://i.ytimg.com/vi/yF8AWDgm0W0/hqdefault.jpg",
"width": 480,
"height": 360
},
"standard": {
"url": "https://i.ytimg.com/vi/yF8AWDgm0W0/sddefault.jpg",
"width": 640,
"height": 480
},
"maxres": {
"url": "https://i.ytimg.com/vi/yF8AWDgm0W0/maxresdefault.jpg",
"width": 1280,
"height": 720
}
},
"channelTitle": "Destiny",
"tags": [
"destiny",
"debates",
"biden",
"trump"
],
"categoryId": "24",
"liveBroadcastContent": "none",
"defaultLanguage": "en",
"localized": {
"title": "chillin'",
"description": "Date streamed December 14th, 2024\n\nClick▼\r\n\r\nFollow Destiny\r\n►STREAM - http://www.kick.com/Destiny\r\n►DISCORD - https://discordapp.com/invite/destiny\r\n►TWITTER - https://twitter.com/TheOmniLiberal\r\n►KICK - https://kick.com/Destiny\r\n►REDDIT - https://www.reddit.com/r/Destiny\r\n►INSTAGRAM - https://www.instagram.com/destiny\r\n\r\nCheck Out My Amazon: www.amazon.com/shop/destiny\r\nBuy My Merch: https://shop.destiny.gg/"
},
"defaultAudioLanguage": "en"
},
"fileDetails": {
"fileType": "video",
"container": "webm",
"videoStreams": [
{
"widthPixels": 2560,
"heightPixels": 1440,
"frameRateFps": 60,
"aspectRatio": 1.7777777777777777,
"codec": "vp9",
"bitrateBps": "7350215"
}
],
"audioStreams": [
{
"channelCount": 2,
"codec": "aac",
"bitrateBps": "128147"
}
],
"bitrateBps": "7478362"
},
"processingDetails": {
"processingStatus": "succeeded",
"fileDetailsAvailability": "available",
"processingIssuesAvailability": "available",
"tagSuggestionsAvailability": "inProgress",
"editorSuggestionsAvailability": "inProgress",
"thumbnailsAvailability": "available"
}
}
],
"pageInfo": {
"totalResults": 1,
"resultsPerPage": 1
}
}
sn...@google.com <sn...@google.com>
pl...@gmail.com <pl...@gmail.com> #10
I got the result as the owner of the channel on the API Explorer.
Request parameters
- part: id,fileDetails,processingDetails
- id: AkLsFRs7P3E
Credintials
Google OAuth 2.0
Result
{
"kind": "youtube#videoListResponse",
"etag": "SXOE5ny6zzY416MW-2-AQRs8GUU",
"items": [
{
"kind": "youtube#video",
"etag": "RemEVlPKmiCCkjcbsKjA8rTM-BA",
"id": "AkLsFRs7P3E",
"fileDetails": {
"fileType": "video",
"container": "mov",
"videoStreams": [
{
"widthPixels": 1920,
"heightPixels": 1080,
"frameRateFps": 24,
"aspectRatio": 1.7777777777777777,
"codec": "h264",
"bitrateBps": "1860960"
}
],
"audioStreams": [
{
"channelCount": 1,
"codec": "aac",
"bitrateBps": "61667"
}
],
"durationMs": "365541",
"bitrateBps": "1922627"
},
"processingDetails": {
"processingStatus": "succeeded",
"fileDetailsAvailability": "available",
"processingIssuesAvailability": "available",
"tagSuggestionsAvailability": "inProgress",
"editorSuggestionsAvailability": "inProgress",
"thumbnailsAvailability": "available"
}
}
],
"pageInfo": {
"totalResults": 1,
"resultsPerPage": 1
}
}
It should be noted that:
- processingDetails.fileDetailsAvailability: "available"
- fileDetails: (Obtained)
- fileDetails.fileName: (Not found)
The problem has not been resolved. I also believe that it is not Intended behavior.
sn...@google.com <sn...@google.com> #11
Thanks for sharing the details. I'm going to open an internal report with the engineering teams for further investigation on this issue. Will reach back with updates as soon as I have one.
fa...@gmail.com <fa...@gmail.com> #12
I have been using the YouTube API for over a year and manage channels with over 4,000 videos. Since December 13, 2023, all of my videos, both old and new, have been showing the status processingDetails.fileDetailsAvailability as "inProgress."
For example, here is the result of a video posted on September 30, 2023:
fileDetails: {},
processingDetails: {
processingStatus: 'succeeded',
fileDetailsAvailability: 'inProgress',
processingIssuesAvailability: 'inProgress',
tagSuggestionsAvailability: 'inProgress',
editorSuggestionsAvailability: 'inProgress',
thumbnailsAvailability: 'inProgress'
}
Before December 13, 2023, all the data was correctly returned in the fileDetails field. However, since that date, I have been facing this change, which affects both new and old videos.
I would appreciate it if you could investigate this issue.
pl...@gmail.com <pl...@gmail.com> #13
I report that I am in the same situation as the new #12 reporter. Below is an example of calling the API with the same parameters as on Dec 18, 2024 08:26AM and getting different results.
Request parameters
- part: id,fileDetails,processingDetails
- id: AkLsFRs7P3E
Credintials
Google OAuth 2.0
Result
{
"kind": "youtube#videoListResponse",
"etag": "ZrPwLp1K91ZyM1vEl8d7_vpgnpI",
"items": [
{
"kind": "youtube#video",
"etag": "5apUyBlcZKl3eKjosALMOYyKeSA",
"id": "AkLsFRs7P3E",
"fileDetails": {},
"processingDetails": {
"processingStatus": "succeeded",
"fileDetailsAvailability": "inProgress",
"processingIssuesAvailability": "inProgress",
"tagSuggestionsAvailability": "inProgress",
"editorSuggestionsAvailability": "inProgress",
"thumbnailsAvailability": "inProgress"
}
}
],
"pageInfo": {
"totalResults": 1,
"resultsPerPage": 1
}
}
The "fileDetailsAvailability" is now "inProgress" and as a result the "fileDetails" is an empty object.
My hopeful observation is that YouTube management is working on a solution to this problem.
Description
No longer able to get fileDetails.fileName data by Videos/list.
It was done earlier this month. I ran the exact same Python code that I was able to run the other day (11-12-2024?) without error, and today (14-12-2024) I got an error.
- API request with parameters used (DO NOT include your credential)
Videos/list
part=id, snippet, status, and "fileDetails"
- Result (copy and paste a JSON response you received)
'fileDetails': {
'fileType': 'video',
'container': 'mov',
'videoStreams': [...],
'audioStreams': [...],
'durationMs': '365541',
'bitrateBps': '1922627'
}
- Expected result
Information published in references.
"fileDetails": {
"fileName": string,
"fileSize": unsigned long,
"fileType": string,
"container": string,
"videoStreams": [...],
"audioStreams": [...],
"durationMs": unsigned long,
"bitrateBps": unsigned long,
"creationTime": string
},
Disappeared: fileName, fileSize, creationTime.
- Is it 100% reproducible?
Yes, At least in my environment.
- Reproducible API explorer link
None.