構造化エラー返信
    
    
      
    
    
      
      コレクションでコンテンツを整理
    
    
      
      必要に応じて、コンテンツの保存と分類を行います。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
適切なメッセージとログを許可するために、Key Access Control List Service(KACLS)は
オペレーションが失敗すると、構造化 JSON 応答が本文で返されます。
標準の HTTP ステータス コードが使用されます。
  
    
      
        | JSON 表現 | 
    
    
      
        | 
{
  "code": int,
  "message": string,
  "details": string
} | 
    
  
  
    
      
        | フィールド | 
    
    
      
        | code | int
 標準の HTTP ステータス コード | 
      
        | message | string (UTF-8)
 人が読める形式のエラー メッセージ。 | 
      
        | details | string (UTF-8)
 スタック トレースなど、エラーの詳細。 | 
    
  
  
  
  
 
  
    
    
      
       
    
    
  
  
  特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
  最終更新日 2025-07-25 UTC。
  
  
  
    
      [null,null,["最終更新日 2025-07-25 UTC。"],[],["KACLS operation failures now return a structured JSON response in the body, using standard HTTP status codes. The JSON format includes three fields: `code` (an integer representing the HTTP status), `message` (a human-readable error string), and `details` (a string providing further information like a stack trace). This structured format improves the quality of error messages and logs.\n"]]