Failed to delete a comment that is a response to another comment using Youtube API V3
I am trying to delete a comment with id value
z13gwx5polebffepe04ch34zhmvfg1czqlo0k.
The request returns the following error:
{"error"=>
{"errors"=>
[{"domain"=>"youtube.comment",
"reason"=>"processingFailure",
"message"=>
"The API server failed to successfully process the request. While this can be a transient error, it usually indicates that the requests input is invalid.",
"locationType"=>"parameter",
"location"=>"id"}],
"code"=>400,
"message"=>
"The API server failed to successfully process the request. While this can be a transient error, it usually indicates that the requests input is invalid."}}
Is there a different API endpoint for removing comments that respond to other comments, or is there another parameter that needs to be sent? From the documentation, only the ID is a valid parameter.
+3
source to share
1 answer
To remove any comment, you must be the commentator for that comment, or you have the owner of the video where the comment was made. If you don't, you won't be able to delete this comment. Go to https://developers.google.com/youtube/v3/docs/comments/delete and find yourself.
+1
user6239042
source
to share