Google's YouTube Stat tracking AppScript seems to have stopped working in the new year. When I try to run the script, I get the following error:
TypeError: Cannot read properties of undefined (reading 'indexOf')extractVideoIdFromUrl @ Code.gs:110(anonymous) @ Code.gs:58markVideos @ Code.gs:40
Any ideas how I can fix this? Is it possible to fix on my end?
https://developers.google.com/apps-script/samples/automations/youtube-tracker
I tried inspecting the code for any references to the date that might cause it to stop working. Didn't find any.