Ramco Ramco

Ramco Ramco

  • 445
  • 3.4k
  • 530.4k

Error - Request is missing reqd authentication

Dec 14 2022 10:17 AM

Hi

  I am trying to get Youtube Subscribers list.

{
  "error": {
    "code": 401,
    "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. ,
    "errors": [
      {
        "message": "Login Required.",
        "domain": "global",
        "reason": "required",
        "location": "Authorization",
        "locationType": "header"
      }
    ],
    "status": "UNAUTHENTICATED",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.ErrorInfo",
        "reason": "CREDENTIALS_MISSING",
        "domain": "googleapis.com",
        "metadata": {
          "method": "youtube.api.v3.V3DataSubscriptionService.Insert",
          "service": "youtube.googleapis.com"
        }
      }
    ]
  }
}


Answers (2)