Closed Nickske92 closed 3 years ago
Can you try on a non-watchlist playlist?
I also realized I didn't update the script to the newest version so I'd recommend making a copy of the Google Sheet again to get the latest version
I also realized I didn't update the script to the newest version so I'd recommend making a copy of the Google Sheet again to get the latest version
Thanks for your fast reply! I tried it with the new updated script (I named it 2.0 in sheets), but I still got the same result, no video's added in the watch later playlist. Then I tried the script on another playlist, but then I got the error message 403?
Hm, so it says the script doesn't have access to the playlist. Are you sure you're using the same account for both Google Sheets and YouTube? There's currently no support for brand accounts. Also check that you spelled the playlist's ID correctly.
If it looks right to you, can you try the following test:
Tools -> Script Editor
function test() {results=YouTube.Channels.list('snippet', {mine:true});Logger.log(results.items[0].id)}
File -> Save
Run -> Run function -> Test
View -> Logs
This should produce a timestamp and a channel id UC~~~~~~~~~
www.youtube.com/channel/<CHANNELID>
replaced with the result from 5.Hm, so it says the script doesn't have access to the playlist. Are you sure you're using the same account for both Google Sheets and YouTube? There's currently no support for brand accounts. Also check that you spelled the playlist's ID correctly.
So that was the problem. I was using a Brand account. I tried the script with another normal google account and now everything works! Thanks!
So the script itself says that it ran successfully and that it added a couple of video's, but when I look at my watch later playlist, there are no video's added. I tried the older and updated version of the script, but I got the same result. Also my watch later playlist says that it updated today.
![4](https://user-images.githubusercontent.com/72335997/95010891-293b9e00-062d-11eb-9805-936e3933ca97.jpg)