Youtube API v3 Error: 403 (playlistItemsNotAccessible)

我们两清 提交于 2019-12-10 19:35:31

问题


This is my first post at stackoverflow - please let me know if I should rephrase the question and/or provide more details regarding the issue.

Using the javascript examples provided on https://developers.google.com/youtube/v3/code_samples/javascript#create_a_playlist we have successfully been able to create youtube playlists and also update them with new videos. However, trying to add videos to a playlist created by another user generates the following error.

{
 "error": {
  "errors": [
   {
    "domain": "youtube.playlistItem",
    "reason": "playlistItemsNotAccessible",
    "message": "Forbidden"
   }
  ],
  "code": 403,
  "message": "Forbidden"
 }
}

In Youtube we have granted permissions for the other user to add videos in the particular playlist and that user has clicked the "contribution acception link".

(If Youtube Direct Lite wouldn't throw API v2-errors when trying to view pending additions, we would have been using that app.)

来源:https://stackoverflow.com/questions/32607448/youtube-api-v3-error-403-playlistitemsnotaccessible

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!