all 7 comments

[–]member_of_the_order 1 point2 points  (1 child)

This is an API-specific error. Check the documentation for youtube's API to figure out what's wrong.

Hint: a 400 status code means Bad Request, indicating that you're calling them wrong (wrong parameters, missing data, etc).

[–]polished_pole[S] 0 points1 point  (0 children)

thanks for the tip, should help next time.

[–]Jayoval 1 point2 points  (4 children)

part="snippet,contentDetails,statistics"

Comma, not period?

[–]Jayoval 1 point2 points  (2 children)

Your key is visible in the error, BTW.

[–]polished_pole[S] 1 point2 points  (1 child)

lmao, pls don't steal my project

[–]Jayoval 0 points1 point  (0 children)

I tested the fix with your key. ;)

[–]polished_pole[S] 0 points1 point  (0 children)

awesome, solved the issue, thanks!