By calling this API
curl --location 'https://www.googleapis.com/youtube/v3/commentThreads?part=id%2Creplies%2Csnippet&allThreadsRelatedToChannelId=****&maxResults=100' \--header 'Authorization: Bearer *****' \--header 'Accept: application/json'I am getting the following error -
{"error": {"code": 403,"message": "The video identified by the <code><a href=\"/youtube/v3/docs/commentThreads/list#videoId\">videoId</a></code> parameter has disabled comments.","errors": [ {"message": "The video identified by the <code><a href=\"/youtube/v3/docs/commentThreads/list#videoId\">videoId</a></code> parameter has disabled comments.","domain": "youtube.commentThread","reason": "commentsDisabled","location": "videoId","locationType": "parameter" } ] }}But I have passed channelId to api, not the videoId,so why getting this error.and even if some video has the comments disabled, then its comment would not get in response, but it shouldn't throw this error.
Anyone know the reason why ?