user3270370
user3270370

Reputation: 11

A network error occurred, and the request could not be completed for Youtube Analytics API in Explorer

When I try to use Youtube Analytics API in Google API Explorer, I am getting error like below,

{
 "error": {
  "code": -1,
  "message": "A network error occurred, and the request could not be completed."
 }
}

Request URI is going like this :

GET https://www.googleapis.com/youtube/analytics/v1/reports?ids=channel%3D%3DUCTLaTj8suFpPUVC7yKGl3LA&start-date=2017-10-01&end-date=2017-10-02&metrics=views&max-results=25&key={YOUR_API_KEY}

Please correct me if am going wrong. I Enabled the -> Authorize requests using OAuth 2.0 ids or Channel ID : MINE or My Youtube channelID i am passing.

Upvotes: 1

Views: 865

Answers (1)

Thanh Tu
Thanh Tu

Reputation: 11

  • I'm not sure, but in my case, I turn off the 'UBlock' extension (block advertisement), and it works!

  • I think you need to check whether your browser uses block ads or not.

Upvotes: 1

Related Questions