すべてのプロダクト
Search
ドキュメントセンター

ApsaraDB RDS:DescribeErrorLogs

最終更新日:Jul 14, 2026

指定された時間範囲内のインスタンスのエラーログを照会します。

操作説明

対象エンジン

  • RDS MySQL

  • RDS PostgreSQL

  • RDS SQL Server

  • RDS MariaDB

今すぐお試しください

この API を OpenAPI Explorer でお試しください。手作業による署名は必要ありません。呼び出しに成功すると、入力したパラメーターに基づき、資格情報が組み込まれた SDK コードが自動的に生成されます。このコードをダウンロードしてローカルで使用できます。

テスト

RAM 認証

この操作の認証情報はありません。問題が発生した場合は、アカウントマネージャーにご連絡ください。

リクエストパラメーター

パラメーター

必須 / 任意

説明

DBInstanceId

string

必須

インスタンスの ID。DescribeDBInstances を呼び出してインスタンス ID を取得できます。

rm-uf6wjk5****

StartTime

string

必須

クエリの開始時刻。フォーマット: yyyy-MM-ddTHH:mmZ (協定世界時 (UTC))。

2011-05-01T20:10Z

EndTime

string

必須

クエリの終了時刻。終了時刻は開始時刻より後である必要があり、開始時刻と終了時刻の間隔は 31 日未満である必要があります。フォーマット: yyyy-MM-ddTHH:mmZ (協定世界時 (UTC))。

2011-05-30T20:10Z

PageSize

integer

任意

1 ページあたりのエントリ数。有効な値: 30100。デフォルト値: 30

30

PageNumber

integer

任意

ページ番号。有効な値: 0 より大きく、Integer の最大値を超えない任意の整数。

デフォルト値: 1

1

レスポンスフィールド

フィールド

説明

object

レスポンスパラメーター。

Items

object

ErrorLog

array<object>

エラーログエントリのリスト。

object

エラーログエントリの詳細。

CreateTime

string

エラーログエントリが生成された時刻。時間は ISO 8601 標準に準拠した yyyy-MM-ddTHH:mm:ssZ 形式です。時刻は協定世界時 (UTC) で表示されます。

2011-05-30T12:11:04Z

ErrorInfo

string

エラーログ情報。

spid52 DBCC TRACEON 3499, server process ID (SPID) 52. This is an informational message only; no user action is required

UserIp

string

ユーザー IP アドレス

xx.xx.xx.xx

Database

string

データベース名。

test_db

User

string

データベースユーザー

test_user

PageNumber

integer

ページ番号。

1

PageRecordCount

integer

現在のページのエラーログエントリ数。

30

RequestId

string

リクエスト ID。

98504E07-BB0E-40FC-B152-E4882615812C

TotalRecordCount

integer

エントリの総数。

100

成功レスポンス

JSONJSON

{
  "Items": {
    "ErrorLog": [
      {
        "CreateTime": "2011-05-30T12:11:04Z",
        "ErrorInfo": "spid52 DBCC TRACEON 3499, server process ID (SPID) 52. This is an informational message only; no user action is required",
        "UserIp": "xx.xx.xx.xx",
        "Database": "test_db",
        "User": "test_user"
      }
    ]
  },
  "PageNumber": 1,
  "PageRecordCount": 30,
  "RequestId": "98504E07-BB0E-40FC-B152-E4882615812C",
  "TotalRecordCount": 100
}

エラーコード

HTTP ステータスコード

エラーコード

エラーメッセージ

説明

400 InvalidSearchTimeRange search time range cannot be longer than a month. クエリの終了時間 (EndTime) と開始時間 (StartTime) の間隔は 31 日未満である必要があります。これらのパラメーターに有効な値を指定してください。
400 IO.Exception IO exception, retry later. I/O 例外が発生しました。
400 Order.ComboInstanceNotAllowOperate A package instance is not allowed to operate independently. パッケージインスタンスに対して個別の操作を行うことは許可されていません。
400 Price.PricingPlanResultNotFound Pricing plan price result not found. 料金プランの価格結果が見つかりませんでした。
400 Order.NoRealNameAuthentication You have not passed the real-name authentication and do not meet the purchase conditions. Please log in to the user center for real-name authentication. 実名認証が完了していないため、購入資格がありません。料金管理にログインして実名認証を完了してください。
400 InsufficientAvailableQuota Your account quota limit is less than 0, please recharge before trying to purchase. アカウントの利用可能クレジットが 0 未満です。購入を試みる前にアカウントをチャージしてください。
400 CommodityServiceCalling.Exception Failed to call commodity service. 商品サービスへの呼び出しに失敗しました。
400 RegionDissolvedEOM Dear customer, Alibaba Cloud plans to optimize and adjust the current region. Cloud services in this region will cease operations. You are currently unable to operate new purchase orders. Thank you for your understanding and support. Alibaba Cloud は現在のリージョンの最適化および調整を計画しています。このリージョンのクラウドサービスは終了予定です。業務継続性とスムーズなデータ移行を確保するため、現時点では新規購入注文を行うことができません。ご理解とご支援のほどよろしくお願いいたします。
400 Commodity.InvalidComponent The module you purchased is not legal, please buy it again. 購入したモジュールが無効です。再度購入してください。
400 RegionEndTimeDissolvedAustralia Cloud services in the Australia (Sydney) region will be discontinued. Set the validity date to September 30, 2024 or earlier than September 30, 2024. 指定されたリージョンは廃止されました。
400 Price.CommoditySys Commodity system call exception. 商品システムの呼び出し時に例外が発生しました。
400 Pay.InsufficientBalance Insufficient available balance.
400 Order.PeriodInvalid There is a problem with the period you selected, please choose again. 選択したサブスクリプション期間が無効です。有効な期間を選択してください。
400 pay.noCreditCard Account not bound to credit card. 利用可能なクレジットカードがありません。
400 Order.InstHasUnpaidOrder There is an unpaid order for the service you have purchased. Please pay or void it before placing the order. 選択したサービスに未払いの注文があります。新しい注文を行う前に、既存の注文の支払いを行うかキャンセルしてください。
400 noAvailablePaymentMethod No payment method is specified for your account. We recommend that you add a payment method. アカウントに支払方法が指定されていません。メソッドを追加してください。
400 BasicInfoUncompleted Your information is incomplete. Complete your information before the operation. 基本情報が不完全です。この操作を実行する前に基本情報を完了してください。
400 Risk.RiskControlRejection Your account is abnormal, please contact customer service for details. アカウントで例外が発生しました。詳細についてはカスタマーサービスにお問い合わせください。
400 Api.NotSupport Specified api is not supported. 現在の API オペレーションはサポートされていません。
400 ContainForbiddenLabelError There is a label that prohibits placing orders. Please contact your distributor for assistance. 注文ブロックタグが存在します。この問題を解決するには、販売代理店にお問い合わせください。
400 InvalidDBInstanceId.NotFound The DBInstanceId provided does not exist in records. 指定された DBInstanceId が存在しません。
400 InvalidInstanceLevel.DiskType Specified instance level not support request disk type 現在のインスタンスタイプは、指定されたストレージタイプをサポートしていません。
400 InvalidParam Sepcified wal level Parameter is invalid. There are still logical slots in instance, so it can not be set as replica. 入力パラメーターが無効です。
400 KmsApiError User secret key invalid. ユーザーキーが無効です。
400 System.SaleValidateFailed Sales expression validation system error.
400 Abs.InvalidAccount.NotFound account is not found. Alibaba Cloud アカウントが存在しないか、AccessKey が有効期限切れです。
400 SqlExecuteFailedOrTimeout sql command execution failed or timed out:%s. SQL コマンドの実行は失敗したか、または時間切れになりました。
400 ColdData.EngineVersionNotSupport The current instance engine version not support coldDataEnabled. 現在のインスタンスの DPI エンジンバージョンはコールドデータアーカイブをサポートしていません。
400 ColdData.MinorVersionNotSupport The current instance minor version not support coldDataEnabled. 現在のカーネルバージョンはコールドデータアーカイブをサポートしていません。
400 IncorrectTargetClasscode The current instance type does not support this operation. 現在のインスタンスタイプでは、この操作はサポートされていません。
400 InvalidConnectionString.Duplicate Specified connection string already exists in the RDS. エンドポイント名が重複しています。接続文字列を再設定してください。
400 RequiredParam.NotFound Required input param is not found. 必須パラメーターが不足しています。
400 Parameters.Invalid Parameter error, please check the parameters. パラメーターエラーが発生しました。パラメーターを確認してください。
400 BackupPolicyNotSupport Cold Data won't open with CrossBackup or Flash Backup, please check Backup Policy. データアーカイブでは、クロスリージョンバックアップまたは秒レベルのスナップショットはサポートされていません。バックアップポリシーを確認してください。
400 InvalideStatus.Format The instance status does not support this operation. インスタンスステータスはこの操作をサポートしていません。
400 InvalidReleasedKeepPolicy.Format Specified Released Keep Policy is not valid. インスタンスリリース後のアーカイブ済みバックアップデータの保持ポリシーが無効です。
400 InvalidDBInstanceEngineType.Format the DB instance engine type does not support this operation. インスタンスのデータベースエンジンタイプはこの操作をサポートしていません。
400 Pay.NoCreditCard No credit cards.
400 VpcNetworkTypeNotSupport The vpc network type instance does not support this operation. この操作は、VPC ネットワークタイプのインスタンスではサポートされていません。
400 MirrorInsExists Specified DB instance mirror ins already existed. 現在のデータベースインスタンスのイメージはすでに存在します。
400 UnsupportedClassCode The specified DB instance class stops selling. このインスタンスタイプは購入できなくなりました。
400 InvalidBackupSet The specified database does not exist in the backup set. 指定されたデータベースはバックアップセットに存在しません。
400 OrdTCommodityQueryError Failed to query for product. プロダクトのクエリに失敗しました。
400 ProductInstanceReleased The instance has been released. Please check before placing the order. インスタンスはリリースされています。注文を行う前にインスタンスを確認してください。
400 RegionEndTimeDissolvedIndia The region is no longer supported. 指定されたリージョンは無効です。
500 ExternalFailure The request processing has failed due to external service failure. サービスへのリクエストが失敗しました。後でもう一度お試しください。
500 RequestMetaDataFailed The service request failed. Please try again later or contact service personnel. サービスリクエストは失敗しました。後でもう一度お試しいただくか、カスタマーサービスの連絡先にお問い合わせください。
500 InvokeProxyFailure The request processing has failed due to service failure of rds api. RDS API サービスが失敗したため、リクエストが失敗しました。
403 OrderStatus.UnPaid The specified db instance has unpaid order. 現在のインスタンスに未払いの注文があります。注文の支払いを行ってから、もう一度お試しください。
403 InvalidReduceDiskSize The storage capacity after the scale-down must be larger than the used amount. スケールダウンのターゲット容量を現在のストレージ使用量より小さくすることはできません。
403 CloudSSDNotSupport Cloud ssd does not support this operation, please upgrade to essd. SSD クラウドディスクはこの操作をサポートしていません。ESSD にアップグレードしてください。
403 InvalidUserOperatorPermission The user permission does not support this operation. ユーザー権限ではこの操作はサポートされていません。
403 InvalidVswitchId Specified conn vswitch id is not valid. 指定された VSwitchId のフォーマットが正しくないか、または空です。
403 IncorrectMinorVersion Current engine minor version does not support operations. 現在のマイナーエンジンバージョンでは、この操作はサポートされていません。
403 OperationDenied.ZoneResource There is no available zone for inventory. 利用可能な在庫リージョンが存在しません。
403 NotInFlowController Sorry,no permission. この機能はエンタープライズクラウドユーザーのみが利用できます。必要な権限がありません。
403 InvalidKmsKey Kms key is disabled. KMS キーが無効化されています。
403 InvalidInstanceLevel.Malformed Current DB instance level does not support this operation. 現在のデータベースインスタンスレベルは、この操作をサポートしていません。
404 InvalidClusterKms The current instance does not authorized to access the Key Management Service. 現在のインスタンスには Key Management Service (KMS) サービスへのアクセス権限が付与されていません。
404 Request.NotFound The requested resource is not available. リクエストされたリソースは利用できません。
404 HostInfo.NotFound The specified host info is not found. 指定されたホスト情報が存在しません。
408 RequestTimeout Query timed out.Please try again or narrow down the query scope. リクエストタイムアウトです。再試行するか、時間の範囲を縮小してください
408 OperationDenied.Timeout The request processing has failed due to timeout. タイムアウトによりリクエストが失敗しました。

完全なリストについては、「エラーコード」をご参照ください。

変更履歴

完全なリストについては、「変更履歴」をご参照ください。