DEV Community

Nived Padikkal
Nived Padikkal

Posted on

Insert YouTube Comment reply using Google App Script

I am trying to create a program using Google Apps Script that inserts a reply to a given youtube comment with its ID. But when I try to insert a comment, it throws an error,

GoogleJsonResponseException: API call to youtube.commentThreads.insert failed with error: Comments cannot be empty. startCommentThread @ Code.gs:42

Top comments (0)