YouTube Streaming API says user is not enabled for live streaming

I use the Google API Google API ( alternate ) to search for random streaming information .

No matter what I entered in the field id, I always come back

{
    "error": {
        "errors": [{
            "domain": "youtube.liveBroadcast",
            "reason": "liveStreamingNotEnabled",
            "message": "The user is not enabled for live streaming.",
            "extendedHelp": "https://www.youtube.com/features"
         }],
         "code": 403,
         "message": "The user is not enabled for live streaming."
    }
}

This seems ridiculous given the video is just streaming.

It occurred to me that I might have misunderstood the instructions for the field id, so I tried a couple of different possibilities. These include...

  • Channel ID ( UCHZoP1Jy-g_h3sqzScrOEwQ)
  • User ID ( GWTV)
  • Video ID ( J_RrkyIOVhg)

... each to no avail.

? , , , . .

+4
1

API :

Error Type | Error Detail                | Description
-----------+-----------------------------+------------------------------------------
insuf...ns | insufficientLivePermissions | The request is not authorized to retrieve
           |                             | the live broadcast.
-----------+-----------------------------+------------------------------------------
insuf...ns | liveStreamingNotEnabled     | The user that authorized the request is not
           |                             | enabled to stream live video on YouTube.
           |             ^               | The user can find more information at
           |   (I'm getting this one)    | https://www.youtube.com/features.

, , , - API, .

, , .

, - .

+3

Source: https://habr.com/ru/post/1605635/


All Articles