"User not enabled for live broadcast" Error

I tried a bit to solve this problem. Basically, I'm just trying to connect to my YouTube channel and get a list of future and past live broadcasts from my PHP based application. I managed to create a service account on the api console and now it works fine (since I used to have some oauth authentication errors), but now I get this error in the error log:

Uncaught exception 'Google_Service_Exception' with message 'Error calling GET
https://www.googleapis.com/youtube/v3/liveBroadcasts?part=id%2Csnippet&mine=true:
(403) The user is not enabled for live streaming.' in etc...

My youtube account is associated with my personal @ gmail.com account. I suggest that somehow I have to add @ developer.gserviceaccount.com to my YouTube channel, but although I tried to find any instructions for this, I could not find. I have real-time streaming on my personal gmail account, and also have some test events.

Thank and help in this matter, please. Thanks!

0
source share
1 answer

Not sure if this will help, but in my case it turned out that the account somehow had 2 accounts:

  • page with a strange page -id@pages.plusgoogle.com and
  • Google user@gmail.com).

, : , .

, 2 -; . , .

+1

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


All Articles