I am using YouTube Data Api v3 to fetch video statistics from a YouTube channel. But I am getting the error message below. I searched online, but couldn't figure out the error because I am not using the parameter in the request.
# Define the YouTube API request to fetch the statistics of the videosvideos_stats_request = youtube.videos().list( part='statistics', id=','.join(video_ids), maxResults=50)Error message:
googleapiclient.errors.HttpError: <HttpError 400 when requesting https://youtube.googleapis.com/youtube/v3/videos returned "The request specifies an invalid filter parameter.". Details: "[{'message': 'The request specifies an invalid filter parameter.', 'domain': 'youtube.parameter', 'reason': 'invalidFilters', 'location': 'parameters.', 'locationType': 'other'}]">