Closed Fardenco closed 3 years ago
Adding client.setInsecure();
to your setup will probably fix it
On Tue 27 Jul 2021, 16:24 Fardenco, @.***> wrote:
I'm getting this error when trying to get the datas for my channel :
Connection failed Unexpected HTTP Status Code: 0
My API credentials are ok, I tested https://www.googleapis.com/youtube/v3/channels?part=statistics&id=xxx&key=yyy in a browser and I get the expected json
— 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/48, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL5PQWEDWWNJDX3LEKI4YLTZ3FRPANCNFSM5BCPG3IQ .
That solved the issue,. I just found out that I was not running the last version of the example code, which indeed includes this fix. Thank you 👍
I'm getting this error when trying to get the datas for my channel :
Connection failed Unexpected HTTP Status Code: 0
My API credentials are ok, I tested https://www.googleapis.com/youtube/v3/channels?part=statistics&id=xxx&key=yyy in a browser and I get the expected json