Infeasible
Status Update
Comments
sn...@google.com <sn...@google.com> #2
Hi, thanks for reaching out to us and reporting this issue! Can you share the complete request you're sending along with your channel ID? Are you referring to this endpoint under Analytics API.
in...@gmail.com <in...@gmail.com> #3
Hi , this is the api call :
POST
https://youtubeanalytics.googleapis.com/v2/groupItems?key=[YOUR_API_KEY]
HTTP/1.1
Authorization: Bearer [YOUR_ACCESS_TOKEN]
Accept: application/json
Content-Type: application/json
{
"groupId": "FxTdU7EfxpE",
"resource": {
"id": "WDEppPhrQxE",
"kind": "youtube#video"
}
} and this i the result :
*{ "error": { "code": 403, "message": "Group contains maximum number
of items.", "errors": [ { "message": "Group contains maximum
number of items.", "domain": "youtube.groupItem", "reason":
"groupContainsMaximumNumberOfItems" } ] }}*
The groupid : *"FxTdU7EfxpE"* contains *294* videos and this is the
youtube channel :*https://www.youtube.com/@kruidvatNL
<https://www.youtube.com/@kruidvatNL >*
Using youtube studios I can add up to *500* videos in this group but using
API
https://developers.google.com/youtube/analytics/reference/groupItems/insert
I'm limited.
Thx
Sabina
On Mon, Feb 17, 2025 at 8:36 PM <buganizer-system@google.com> wrote:
POST
HTTP/1.1
Authorization: Bearer [YOUR_ACCESS_TOKEN]
Accept: application/json
Content-Type: application/json
{
"groupId": "FxTdU7EfxpE",
"resource": {
"id": "WDEppPhrQxE",
"kind": "youtube#video"
}
} and this i the result :
*{ "error": { "code": 403, "message": "Group contains maximum number
of items.", "errors": [ { "message": "Group contains maximum
number of items.", "domain": "youtube.groupItem", "reason":
"groupContainsMaximumNumberOfItems" } ] }}*
The groupid : *"FxTdU7EfxpE"* contains *294* videos and this is the
youtube channel :*
<
Using youtube studios I can add up to *500* videos in this group but using
API
I'm limited.
Thx
Sabina
On Mon, Feb 17, 2025 at 8:36 PM <buganizer-system@google.com> wrote:
Description
Hi there,
Im MERN full stack developer. since couple of days im trying to solve the issue like when i try to implement and excute this code im getting error like invalid embed settings... for my project i want to use unlisted(even i tried with private and public) videos with default embedded true, so that i can use few of them to show in my web page. i tried in studio i didn't found any option to allow all streamings embedded. i noticed only individual option is available in studio to allow embedding manually. but this need to done by backend, Also i tried with one scenario like first i created a stream without embed paramater then i got response as embeded as false then again i tried to update it using broadcast id not worked. kindly give the solution
FROM HERE CODE ---->
import { youtube_v3, youtube } from '@googleapis/youtube';
export class YouTubeService implements OnModuleInit { private youtube: youtube_v3.Youtube; private oauth2Client: OAuth2Client; // Step 1: Create the live broadcast const broadcastResponse = await this.youtube.liveBroadcasts.insert({ part: ['snippet', 'status', 'contentDetails'], requestBody: { snippet: { title, description, scheduledStartTime, // Combined date and time in ISO 8601 format }, status: { privacyStatus: 'unlisted',// 'private', 'public', or 'unlisted' selfDeclaredMadeForKids: false, }, contentDetails: { monitorStream: { enableMonitorStream: true, }, enableEmbed:true, enableAutoStart: true, enableAutoStop: true, }, }, });
});
....... }