Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3641

Delete youtube comment fails

$
0
0

Why does the delete function of the youtube API fail for comments

Scopes on authentication: "https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email"

Curl Request

curl --location --request DELETE 'https://www.googleapis.com/youtube/v3/comments?id=COMMENT_ID&key=ACCOUNT_KEY' \--header 'Authorization: Bearer ya29.ACCESS_TOKEN'

Error:

{"error": {"code": 400,"message": "The API server failed to successfully process the request. While this can be a transient error, it usually indicates that the request's input is invalid.","errors": [        {"message": "The API server failed to successfully process the request. While this can be a transient error, it usually indicates that the request's input is invalid.","domain": "youtube.comment","reason": "processingFailure","location": "id","locationType": "parameter"        }    ]}}

Viewing all articles
Browse latest Browse all 3641

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>