witnessmenow / arduino-youtube-api

A wrapper around the youtube api for arduino
MIT License
141 stars 48 forks source link

Connection failed #27

Closed glsf91 closed 4 years ago

glsf91 commented 4 years ago

My counter (Nodemcu esp8266) was working for years. Suddenly it stopped working. I saw the closed issues about this.

I updated to your newest version and also ArduinoJson. I use ESP 8266 version 2.4.2.

But now I get: /youtube/v3/channels?part=statistics&id= removed Connection failed Unexpected HTTP Status Code: 0 /youtube/v3/channels?part=statistics&id= removed Tossing an unexpected character: 1 Tossing an unexpected character: d Tossing an unexpected character: 1 Tossing an unexpected character:

Tossing an unexpected character:

Unexpected HTTP Status Code: 403 Closing client /youtube/v3/channels?part=statistics&id= removed Tossing an unexpected character: 1 Tossing an unexpected character: d Tossing an unexpected character: 1 Tossing an unexpected character:

and so on. I also get this with the example included.

What can be the problem?

witnessmenow commented 4 years ago

403 is usually an authentication issue. I would double check your API token is still valid.

On Thu 25 Jun 2020, 22:16 glsf91, notifications@github.com wrote:

My counter (Nodemcu esp8266) was working for years. Suddenly it stopped working. I saw the closed issues about this.

I updated to your newest version and also ArduinoJson. I use ESP 8266 version 2.4.2.

But now I get: /youtube/v3/channels?part=statistics&id= removed Connection failed Unexpected HTTP Status Code: 0 /youtube/v3/channels?part=statistics&id= removed Tossing an unexpected character: 1 Tossing an unexpected character: d Tossing an unexpected character: 1 Tossing an unexpected character:

Tossing an unexpected character:

Unexpected HTTP Status Code: 403 Closing client /youtube/v3/channels?part=statistics&id= removed Tossing an unexpected character: 1 Tossing an unexpected character: d Tossing an unexpected character: 1 Tossing an unexpected character:

and so on. What can be the problem?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/witnessmenow/arduino-youtube-api/issues/27, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL5PQSBTSDTS3E6QCZHB3DRYO5CHANCNFSM4OIX6VMQ .

glsf91 commented 4 years ago

I'am sorry. Very stupid. When trying in a browser I get: The request cannot be completed because you have exceeded your <a href=\"/youtube/v3/getting-started#quota\">quota

Probably because of the lot of failures. Now to find out how much the quota is and when it is reset. Looks like it is a 1000 requests per day, reset every day.