Youtube playlistItems list API sometimes works, sometimes throws 404
Asked Answered
D

1

2

I have retrieved upload Id from a channel as shown here(https://www.youtube.com/watch?v=RjUlmco7v2M&t=2s), and using it as playlitstId here https://developers.google.com/youtube/v3/docs/playlistItems/list#try-it Sometimes it gives 200, sometimes 404,

Response {_body: "{↵ "error": {↵ "errors": [↵ {↵ "domain": "yo…003c/code\u003e parameter cannot be found."↵ }↵}↵", status: 404, ok: false, statusText: "OK", headers: Headers…}

Additional info: I have selected part as contentDetails,id,snippet maxResults 50

Demoniac answered 23/4, 2017 at 7:28 Comment(1)
I encounter the same behaviour. Did you find a solution?Verde
M
-1

You may check in this documentation the possible reasons why you got a 404 error in PlaylistItems: list. These methods could also return errors listed in the Common errors section.

  • notFound (404)

    • playlistNotFound
      • The playlist identified with the request's playlistId parameter cannot be found.
  • notFound (404)

    • videoNotFound
      • The video identified with the request's videoId parameter cannot be found.
  • required (400)

    • playlistIdRequired
      • The subscribe request does not specify a value for the required playlistId property.

However, if it doesn't solve your issue and you think that it is a bug, you can file a report here.

Mabuse answered 23/4, 2017 at 14:36 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.