Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
排解錯誤代碼
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本頁面說明使用 Directory API 時可能遇到的一些常見錯誤代碼。
503 Service unavailable
使用 nextPageToken 方法擷取大量使用者或裝置清單時,如果要求時間超過 60 分鐘,可能會遇到這個錯誤。這是因為 Directory API 有限制。
以下是完整的錯誤回應:
{
"error": {
"code": 503,
"message": "Service unavailable. Please try again",
"errors": [
{
"message": "Service unavailable. Please try again",
"domain": "global",
"reason": "backendError"
}
]
}
}
為避免發生這個錯誤,請使用篩選器查詢,減少裝置或使用者數量,確保個別作業不會耗費超過一小時。這種做法需要多次查詢。詳情請參閱「搜尋裝置」。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-02-25 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-02-25 (世界標準時間)。"],[],[]]