I created a Google application in the developers console, turned on \"YouTube Data API v3\", generated the server API key, and authorized my home and work IPs.
My we
Additionnaly when I opened the requested URL in browser I found that the API call returned
{"domain": "usageLimits"}
I tried the above solutions without success.
Creating a new project from scratch solved the issue
Thanks @Danra, you helped, but I add this answer because your comment is default hidden.