Skip to content

400: The request specifies an invalid filter parameter. #10

@betterthanever2

Description

@betterthanever2

I'm getting a 400 error when running consecutively get_playlist_videos and videos methods, like so:

uploads = await self.ytb_api.get_playlist_videos(playlist_id=self.channel.uploads_playlist_id, limit=100)
raw_videos = await self.ytb_api.videos([u.id for u in uploads], parts=Part.ALL_PUBLIC())

Complete error message:

Status: 400
Reason: {
  "error": {
    "code": 400,
    "message": "The request specifies an invalid filter parameter.",
    "errors": [
      {
        "message": "The request specifies an invalid filter parameter.",
        "domain": "youtube.parameter",
        "reason": "invalidFilters",
        "location": "parameters.",
        "locationType": "other"
      }
    ]
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions