I'm having exactly the same intermittent 404 issue calling the API from a Google Apps Script as mentioned here: Javascript Fetch returns 404 occasionally
Should this be reported to Google for assessment and remediation? If so, how? Or is this just something they'll respond "deal with it".
var videoApiUrl = 'https://videointelligence.googleapis.com/v1/';
var annotateUrl = videoApiUrl + 'videos:annotate?key=' + apiKey;
var testFile = DriveApp.getFileById('11MIdGHM0tYZ5o0p5QebD8uPELYGTntzZ');
var testBlob = testFile.getBlob();
var testBase64Bytes = Utilities.base64Encode(testBlob.getBytes());
var JSON_REQ = XbuildJSONRequestVideoBase64(testBase64Bytes, 'PERSON_DETECTION');
var options = {
'method': 'post',
'contentType': 'application/json',
'muteHttpExceptions': true,
'payload': JSON_REQ
};
var response = UrlFetchApp.fetch(annotateUrl, options);
var objName = JSON.parse(response);
Result:
404. That's an error.
The requested URL yadda-yadda was not found on this server.
That's all we know.