2

I have tried with below URL

POST "https://www.googleapis.com/youtube/v3/subscriptions?part=snippet&fields=contentDetails,etag,id,kind,snippet,subscriberSnippet&key=(myClientId)&access_token=(myAccessTocken)

Request Body : {"snippet":{"resourceId":{"\(myChannelId)","kind":"youtube#channel"}}}

But fail to with Error code : 

"errors" : [
      {
        "domain" : "global",
        "reason" : "authError",
        "locationType" : "header",
        "location" : "Authorization",
        "message" : "Invalid Credentials"
      }
Nitin Gohel
  • 49,482
  • 17
  • 105
  • 144
Vivek Gajbe
  • 411
  • 2
  • 14

0 Answers0