故障診斷 - AWS AppFabric

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

故障診斷

AWS AppFabric 針對生產力的功能已處於預覽狀態,可能會有所變更。

本節描述了 AppFabric 生產力的常見錯誤和疑難排解。

未驗證的應用

如果應用程式開發人員使 AppFabric 用生產力來豐富其應用程式體驗,則在向使用者啟動其功能之前,會先經過驗證程序。所有應用程序都以未經驗證的方式啟動,並且僅在驗證過程完成後才更改為已驗證。這意味著starterUserEmails您在創建時使用的 AppClient 將看到此消息。

Warning message for an unverified application in AWS AppFabric, requesting data access.

CreateAppClient 錯誤

ServiceQuotaExceededException

如果您在建立時收到下列例外狀況 AppClient,表示您已超過每個 AppClients 可建立的例外數目 AWS 帳戶。限制為 1。HTTP狀態碼:

ServiceQuotaExceededException / SERVICE_QUOTA_EXCEEDED You have exceeded the number of AppClients that can be created per AWS Account. The limit is 1. HTTP Status Code: 402

GetAppClient 錯誤

ResourceNotFoundException

如果您在取得的詳細資訊時收到下列例外狀況 AppClient,請確定您輸入了正確的 AppClient 識別碼。此錯誤表示未找 AppClient 到指定的。

ResourceNotFoundException / APP_CLIENT_NOT_FOUND The specified AppClient is not found. Ensure you’ve entered the correct AppClient identifier. HTTP Status Code: 404

DeleteAppClient 錯誤

ConflictException

如果您在刪除時收到下列例外狀況 AppClient,表示正在進行另一個刪除請求。請等待完成,然後再試一次。HTTP狀態碼:4

ConflictException Another delete request is in progress. Wait until it completes then try again. HTTP Status Code: 409

ResourceNotFoundException

如果您在刪除時收到下列例外狀況 AppClient,請確定您輸入了正確的 AppClient 識別碼。此錯誤表示未找 AppClient 到指定的。

ResourceNotFoundException / APP_CLIENT_NOT_FOUND The specified AppClient is not found. Ensure you’ve entered the correct AppClient identifier. HTTP Status Code: 404

UpdateAppClient 錯誤

ResourceNotFoundException

如果您在更新時收到下列例外狀況 AppClient,請確定您輸入了正確的 AppClient 識別碼。此錯誤表示未找 AppClient 到指定的。

ResourceNotFoundException / APP_CLIENT_NOT_FOUND The specified AppClient is not found. Ensure you’ve entered the correct AppClient identifier. HTTP Status Code: 404

Authorize 錯誤

ValidationException

如果任何API參數不符合API規格中定義的限制,您可能會收到下列例外狀況。

ValidationException HTTP Status Code: 400

原因 1:未指定 AppClient ID 時

請求參數中缺少。app_client_id請建立 ( AppClient如果尚未建立),或使用您現有的檔案,app_client_id然後再試一次。若要尋找 AppClient ID,請使用此ListAppClientAPI作業。

原因 2: AppFabric 無法存取客戶管理金鑰的時機

Message: AppFabric couldn't access the customer managed key configured for AppClient.

AppFabric 目前無法存取客戶管理的金鑰,這可能是由於其權限的最近變更。驗證指定的密鑰是否存在,並確保 AppFabric 被授予適當的訪問權限。

原因 3:指定的重URL定向無效

Message: Redirect url invalid

請確定要求URL中的重新導向正確無誤。它必須符合您建立或更新時URLs指定的其中一個重新導向 AppClient。若要檢視允許重新導向的清單URLs,請使用此GetAppClientAPI作業。

Token 錯誤

TokenException

您可能會因為幾個原因而收到下列例外狀況。

TokenException HTTP Status Code: 400

原因 1:指定無效的電子郵件時

Message: Invalid Email used

請確定您使用的電子郵件地址與建立時所列starterUserEmails屬性的電子郵件地址相符 AppClient。如果電子郵件不相符,請變更為相符的電子郵件地址,然後再試一次。若要檢視使用的電子郵件,請使用GetAppClientAPI作業。

原因 2:當未指定令牌時,對於 grant_type 作為刷新令牌。

Message: refresh_token must be non-null for Refresh Token Grant-type

請求中指定的刷新令牌為空或空。指定在 Token API 呼叫回應中refresh_token接收的作用中。

ThrottlingException

如果呼叫的速率超過允許的API配額,您可能會收到下列例外狀況。

ThrottlingException HTTP Status Code: 429

ListActionableInsightsListMeetingInsights、和PutFeedback錯誤

ValidationException

如果任何API參數不符合API規格上定義的限制,您可能會收到下列例外狀況。

ValidationException HTTP Status Code: 400

ThrottlingException

如果呼叫的速率超過允許的API配額,您可能會收到下列例外狀況。

ThrottlingException HTTP Status Code: 429