API ときリクエストエラーが発生し、Log Service HTTP ステータスコードとレスポンスボディ内の特定のエラーの詳細を含むエラーメッセージを返します。レスポンス本文のエラーの詳細は、次の形式です。
{
"errorCode" : <ErrorCode>,
"errorMessage" : <ErrorMessage>
}
ログサービスによって返される可能性があるすべてのエラーメッセージの中には、ほとんどの API に適用可能なものと、一部の API に固有のものがあります。複数の API の応答では、次の一般的なエラーコードを参照してください。 一部の API 固有のエラーコードについては、対応する API リファレンスの説明を参照してください。
HTTP ステータスコード | エラーコード | エラーメッセージ | 説明 |
---|---|---|---|
411 | MissingContentLength | Content-Length does not exist in http header when it is necessary. | 必要なContent-Length リクエストヘッダが提供されていません。 |
415 | InvalidContentType | Content-Type {type} is unsupported. | 指定された Content-Type はサポートされていません。 |
400 | MissingContentType | Content-Type does not exist in http header when body is not empty. | Content-Type はボディが空でないとき、HTTP ヘッダに存在しないリクエストボディが空ではありません。 |
400 | MissingBodyRawSize | x-log-bodyrawsize does not exist in header when it is necessary. | 必要なx-log-bodyrawsize クエストヘッダを圧縮シナリオに設けられていません。 |
400 | InvalidBodyRawSize | x-log-bodyrawsize is invalid. | x-log-bodyrawsize の値が無効です。 |
400 | InvalidCompressType | x-log-compresstype {type} is unsupported. | x-log-compresstype で指定された圧縮タイプはサポートされていません。 |
400 | MissingHost | Host does not exist in http header. | HTTP の標準リクエストヘッダはHost が提供されていません。 |
The HTTP standard request header Host is not provided. | MissingDate | Date does not exist in http heade. | HTTP の標準リクエストのヘッダDate が提供されていません。 |
400 | InvalidDateFormat | Date {date} must follow RFC822. | Date リクエストヘッダ値が RFC822 規格に準拠していません。 |
400 | MissingAPIVersion | x-log-apiversion does not exist in http header. | HTTP リクエストヘッダx-log-apiversion が設けられていません。 |
400 | InvalidAPIVersion | x-log-apiversion {version} is unsupported. | HTTP の値リクエストヘッダx-log-apiversion がサポートされていません。 |
400 | MissAccessKeyId | x-log-accesskeyid does not exist in header. | アクセスキー ID はAuthorization ヘッダーで指定されていません。 |
401 | Unauthorized | The AccessKeyId is unauthorized. | 提供された AccessKey ID 値が許可されていません。 |
400 | MissingSignatureMethod | x-log-signaturemethod does not exist in http header. | HTTP リクエストヘッダx-log-signaturemethod が設けられていません。 |
400 | InvalidSignatureMethod | signature method {method} is unsupported. | x-log-signaturemethod ヘッダで指定された署名メソッドはサポートされていません。 |
400 | RequestTimeTooSkewed | Request time exceeds server time more than 15 minutes. | リクエスト送信時間は、現在のサーバー時間の前後 15 分を超えています。 |
404 | ProjectNotExist | Project {name} does not exist. | Log Service プロジェクトは存在しません。 |
401 | SignatureNotMatch | Signature {signature} is not matched. | リクエストのデジタル署名が Log Service で計算された署名と一致しません。 |
403 | WriteQuotaExceed | Write quota is exceeded. | ログ書き込みクォータを超えました。 |
403 | ReadQuotaExceed | Read quota is exceeded. | ログ読み取り量を超えました。 |
500 | InternalServerError | Internal server error message. | 内部サーバー・エラー |
503 | ServerBusy | The server is busy, please try again later. | サーバーがビジー状態です。後でもう一度お試しください。 |
エラーメッセージの{…}は、特定のエラー情報を示します。たとえば、
ProjectNotExist
エラーメッセージの{name}は特定のプロジェクト名に置き換えられます。