youtube / api-samples

Code samples for YouTube APIs, including the YouTube Data API, YouTube Analytics API, and YouTube Live Streaming API. The repo contains language-specific directories that contain the samples.
5.45k stars 2.97k forks source link

Unable to Create Broadcast in Parent Account via YouTube API #525

Open yoonusc opened 7 months ago

yoonusc commented 7 months ago

I hope this message finds you well. I am reaching out to seek assistance regarding an issue I am encountering while working with the YouTube API.

Issue Description: When attempting to create a broadcast on behalf of a parent account using the YouTube API, I am encountering an error message indicating that the specified content owner account was not found. The error message received is as follows:

{ "code": 404, "errors": [ { "domain": "youtube.parameter", "location": "onBehalfOfContentOwner", "locationType": "parameter", "message": "The specified content owner account was not found.", "reason": "contentOwnerAccountNotFound" } ], "message": "The specified content owner account was not found." } Steps to Reproduce:

Authenticate with the YouTube API using appropriate credentials. Attempt to create a broadcast on behalf of a parent account using the onBehalfOfContentOwner parameter. Receive the error response indicating "contentOwnerAccountNotFound". Additional Details:

The user added to the parent account has been assigned the role of editor. Permissions have been verified for the authenticated user. The content owner ID provided in the API request belongs to the parent account where the broadcast should be created.

I kindly request your support in resolving this issue. It's crucial for our project to be able to create broadcasts on behalf of the parent account programmatically. If there are any specific configurations or steps that need to be followed to ensure the successful creation of broadcasts, please provide guidance accordingly.

Your assistance in this matter is highly appreciated. If you require any further information or clarification, please don't hesitate to ask.

yoonusc commented 7 months ago

can you help me to do that or to resolve the issue that I am facing ? or any one please help me to get the valid onBehalfOfContentOwner value of my account

On Thu, Mar 7, 2024 at 2:45 AM Myo78779 @.***> wrote:

Hi that sounds great I think we should do that

— Reply to this email directly, view it on GitHub https://github.com/youtube/api-samples/issues/525#issuecomment-1981798958, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNRSPISENNK7HSSSNO4RN3YW6BQNAVCNFSM6AAAAABEJHMTHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBRG44TQOJVHA . You are receiving this because you authored the thread.Message ID: @.***>

--

Thanks

Yoonus.c +91-8129931286