I am using the YouTube Data API v3 to fetch details about a specific YouTube channel using the forUsername parameter. However, my request is returning a response without the expected items field. Below is the curl command I'm using:
curl \'https://youtube.googleapis.com/youtube/v3/channels?forUsername=irodorimidori&key=[YOUR_API_KEY]' \ --header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \ --header 'Accept: application/json' \ --compressedreturn
{"kind": "youtube#channelListResponse","etag": "RuuXzTIr0OoDqI4S0RU6n4FqKEM","pageInfo": {"totalResults": 0,"resultsPerPage": 5 }}why it dont return
{"kind": "youtube#channelListResponse","etag": etag,"nextPageToken": string,"prevPageToken": string,"pageInfo": {"totalResults": integer,"resultsPerPage": integer },"items": [ channel Resource ]}i dont find items in return