メインコンテンツまでスキップ

5) AIP SDK エラーメッセージに基づくステータスコードの定義

AIP SDK エラーメッセージに基づくステータスコードの定義

説明

Error Code

Status CodeSDK Error MessageDescription
400The service didn't accept the auth token.他のテナントのMIPオフィスファイル
400Broken zip fileMIPで暗号化されていますが、破損しているファイル
400Template IDs must be well-formed GUIDs存在しない Protection Template ID の使用
404Protection is not exist- 暗号化されていない一般文書
- 偽のオフィスファイル (jpg拡張子をdocxに変更)
403Failed to get tenantid :xx4d615af9-1d04-4bcc-8e6f-c6b6fe3110dd認証に登録されていないAzure TenantIDの使用
429Maximum number of attempts exceededタイムアウト(10秒)または最大試行回数超過(mip-restapiとmip-workerの間)
503MSAL error. Failed to get tokenMSALエラー - MSALライブラリでテナントのCredentialを使用してトークンリクエストを行ったが、トークンを取得できなかった場合(リトライも失敗)

Examples

Response

Status code : 400 Bad Request

{
"code": 60001,
"message": "com.microsoft.informationprotection.internal.gen.Error: AccessDeniedError: The service didn't accept the auth token. Challenge:['Bearer resource=\"https://aadrm.com\", realm=\"e8c1b6e5-37ed-4c84-82e9-f5a02feddd85\", authorization=\"https://login.windows.net/e8c1b6e5-37ed-4c84-82e9-f5a02feddd85/oauth2/authorize\"'], CorrelationId=c893364f-7c12-462d-85a2-68991bbc12ea, CorrelationId.Description=FileEngine"
}