Hello
I'd like to ask you about the error on YouTubeDataApi in GoogleAppsScript.
I am writing a program on GAS that adds links to videos in spreadsheets to YouTube playlists.
I got this error when I ran the program.
GoogleJsonResponseException:API call to YouTube.playlistItems.list failed with error: Access Forbiden.The authenticated user cannot access this service.
Before this error occurred, the additional process was successful, but
One day, I suddenly got this error when I was running.
GoogleJsonResponseException: API call to youtube.playlistItems.list failed with the following error: Access is prohibited. Authenticated users cannot access this service.
In a literal translation, this is what it looks like, but I think I did authentication at the time of the first execution.
I turned off the Youtube Data Api service and put it back in, but I still got the error like the one above, so
The program could not run successfully.
That's all.
I would appreciate it if you could let me know if anyone knows anything about it.
Thank you for your cooperation.
Google Workspace allows administrators to restrict access to YouTube, so this may be the case.
https://support.google.com/a/answer/6212415?hl=ja
© 2024 OneMinuteCode. All rights reserved.