當我嘗試授予任何文件的訪問權限時,出現500錯誤。當文件與某人共享時,我不想發送電子郵件。我想停止通知電子郵件。使用Google Drive API更新權限時出現500錯誤
Insert insert = service.permissions().insert(fileId, newPerm);
insert.setSendNotificationEmails(false);
newPerm = insert.execute();
500 OK
{
"code" : 500,
"errors" : [ {
"domain" : "global",
"message" : "Internal Error. User message: \"An internal error has occurred which prevented the sharing of these item(s): fileame\"",
"reason" : "internalError"
} ],
"message" : "Internal Error. User message: \"An internal error has occurred which prevented the sharing of these item(s): filename\""
}
感謝任何建議。
能否請你告訴我,我該如何處理這個異常。它在我的應用程序中造成麻煩。欣賞你的迴應。謝謝 –
真的沒有更多的細節可以給你嗎?無法更徹底地診斷或記錄錯誤? – SuperBiasedMan