Hello @singhsivcan! Thanks for the response. If I remove the following few lines, I the script runs just fine. To be clear, the request still executes but the response throws the error.
console.log(“Sleep for 3 minutes to let video transcode”);
var t = new Date().getTime();
while (new Date().getTime() < t + 180000);
console.log(“Done sleeping”);
This was working 2 days ago. Is there a different way that I can sleep after this request?