Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

YouTube Data API Playlist Update status.privacyStatus not working

$
0
0

When we use YouTube Data API Playlist Update to update the status.privacyStatus of a YouTube playlist, it fails with the unexpectedPart error.

Part : StatusRequest Body :

{"id": "PLI4NMKWV7cqUHnHhLA_aWErP-MlVIcWqJ","status": {"privacyStatus": "private"  }}

Response :

{"error": {"code": 400,"message": "'{0}'","errors": [      {"message": "'{0}'","domain": "youtube.part","reason": "unexpectedPart","location": "part","locationType": "parameter"      }    ]  }}

The following works though :

Part : Snippet, StatusRequest Body :

{"id": "PLI4NMKWV7cqUHnHhLA_aWErP-MlVIcWqJ","snippet" : {"title": "playListTitle"}"status": {"privacyStatus": "private"  }}

Seems to be a bug, hugh?


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>