title: com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden - YouTube Live
body: <p>I am new to YouTube APIs. I have done create and fetch live events on YouTube. But I'm trying to start live events from my app I'm getting this error:</p>
  <pre><code> com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
  POST https://www.googleapis.com/youtube/v3/liveBroadcasts/transition?broadcastStatus=live&amp;id=m0BCwKmG9Ws&amp;key=AIzaSyCRiIM7Tdb_rqFcGSbQ0jXy0GeODCNSq4g&amp;part=status
  {
    &quot;code&quot;: 403,
    &quot;errors&quot;: [
      {
        &quot;domain&quot;: &quot;youtube.liveBroadcast&quot;,
        &quot;message&quot;: &quot;Stream is inactive&quot;,
        &quot;reason&quot;: &quot;errorStreamInactive&quot;,
        &quot;extendedHelp&quot;: &quot;https://developers.google.com/youtube/v3/live/docs/liveBroadcasts/transition&quot;
      }
    ],
    &quot;message&quot;: &quot;Stream is inactive&quot;
  }
  </code></pre>
  <p><strong>Code for go-live</strong></p>
  <pre><code>fun startEvent(youtube: YouTube, broadcastId: String?) {
     
      val transitionRequest = youtube.liveBroadcasts().transition(
          &quot;live&quot;, broadcastId, &quot;status&quot;
      )
      transitionRequest.key = context.getString(R.string.api_key)
      transitionRequest.execute()
  }
  </code></pre>
  <p>I also tried <a href="https://stackoverflow.com/a/28803880/10875441">this</a> but still getting the same issue.
  I don't know what's wrong with it?</p>