问题
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