自從昨天我們收到來自YouTube分析API的代碼500錯誤。自幾個月前以來,相關代碼中沒有任何變化,並且所有事情在昨天之前一直都很順利。來自YouTube分析API的內部服務器錯誤
這是一個示例查詢(但所有查詢YT分析失敗):
https://www.googleapis.com/youtube/analytics/v1/reports?ids=channel%3D%3D<channelid>&metrics=views,averageViewDuration,estimatedMinutesWatched,comments,likes,dislikes,shares,subscribersGained,subscribersLost&dimensions=channel&start-date=2016-06-01&end-date=2016-06-30&start-index=1
(具有適當的channelID和授權報頭組)。這是我們回來的:
{
"code": 500,
"message": "The remote server returned an error: (500) Internal Server Error.",
"response": {
"error": {
"errors": [{
"domain": "global",
"reason": "internalError",
"message": "Unknown error occurred on the server."
}
],
"code": 500,
"message": "Unknown error occurred on the server."
}
}
}
任何線索?
在他們宣佈推出新功能之前的一天,我們是在2016年11月7日星期一開始看到這些500這是巧合嗎? https://youtube-eng.googleblog.com/2016/11/download-your-ad-revenue-reports.html我們的分析電話都是如上所述。非常令人沮喪。 – ThaDon
如果我們能夠發現Google是否意識到這個問題並正在研究它,那將會很好。 – SeanK
事情今天突然開始爲我工作。沒有更改代碼。我真的希望這個API在未來更加穩定。 – SeanK