python-youtube
python-youtube copied to clipboard
how to fix a problem "Set default language to updating localizations"?
i'm trying to create a playlist programatically
insert = client.playlists.insert({"title":"playlist title","description":"pl descr"})
but api provides error:
pyyoutube.error.PyYouTubeException: YouTubeException(status_code=400,message=Set default language to updating localizations.)
where can i set this default language?
Sorry for late reply
As for the docs says
You need to set default language.
Refer: https://developers.google.com/youtube/v3/docs/playlists/insert