I am trying to filter channels by categoryId in the youtube API
When I do not include the categoryId in my query params I get this which is to be expectedhttps://www.googleapis.com/youtube/v3/channels?key=(MY_API_KEY_HERE)&categoryId=1&part=id,status,snippet,brandingSettings
{"error": {"code": 400,"message": "No filter selected. Expected one of: mySubscribers, categoryId, mine, id, forUsername, managedByMe","errors": [ {"message": "No filter selected. Expected one of: mySubscribers, categoryId, mine, id, forUsername, managedByMe","domain": "youtube.parameter","reason": "missingRequiredParameter","location": "parameters.","locationType": "other" } ] }}
If i enter a categoryId in the query params using any of the categories I get from this list then I get this result which doesnt make sense since i would assume the categoryId is a filter so why is it None?
{"error": {"code": 400,"message": "Request contains an invalid argument.","errors": [ {"domain": "youtube.api.CommonRequestError","reason": "ERROR_FILTER_NONE_SELECTED" } ],"status": "INVALID_ARGUMENT" }}