Amazon SNS 移動推送常見API錯誤 - Amazon Simple Notification Service

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

Amazon SNS 移動推送常見API錯誤

下表列出 Amazon 用SNSAPIs於行動推送的錯誤。如需有關適用於行動推送的 Amazon SNS APIs 的詳細資訊,請參閱行動推播動API作

錯誤 描述 HTTPS狀態碼 API動作

應用程式名稱為 null 字串

所需的應用程式名稱設定為 null。

400

CreatePlatformApplication

平台名稱為 null 字串

所需的平台名稱設定為 null。

400

CreatePlatformApplication

平台名稱無效

為平台名稱提供了無效的或 out-of-range 值。

400

CreatePlatformApplication

APNs— 主體不是有效的憑證

為APNs主體 (即憑證) 提供了無效的SSL憑證。如需詳細資訊,請參閱 Amazon 簡易通知服務API參考CreatePlatformApplication中的。

400

CreatePlatformApplication

APNs— 主體是有效的憑證,但不是 .pem 格式

已為APNs主體 (即憑證) 提供不是 .pem 格式的有效憑證。SSL

400

CreatePlatformApplication

APNs— 主體是過期的憑證

為APNs主體 (即憑證) 提供過期的SSL憑證。

400

CreatePlatformApplication

APNs— 校長不是蘋果公司頒發的證書

已為APNs主體 (即憑證) 提供非 Apple 核發的SSL憑證。

400

CreatePlatformApplication

APNs— 不提供本金

未提供APNs主體 (即SSL憑證)。

400

CreatePlatformApplication

APNs— 未提供憑證

未提供APNs認證 (即私密金鑰)。如需詳細資訊,請參閱 Amazon 簡易通知服務API參考CreatePlatformApplication中的。

400

CreatePlatformApplication

APNs— 認證不是有效的 .pem 格式

APNs身份證明 (私密金鑰) 不是有效的 .pem 格式。

400

CreatePlatformApplication

FCM— serverAPIKey 未提供

未提供FCM認證,即API金鑰。如需詳細資訊,請參閱 Amazon 簡易通知服務API參考CreatePlatformApplication中的。

400

CreatePlatformApplication

FCM— serverAPIKey 為空

認FCM證是API索引鍵,是空的。

400

CreatePlatformApplication

FCM— serverAPIKey 為空字串

認FCM證,也就是索API引鍵,是 null。

400

CreatePlatformApplication

FCM— serverAPIKey 無效

認FCM證 (即API金鑰) 無效。

400

CreatePlatformApplication

ADM— 未提供客戶密碼

所需的用戶端密碼未提供。

400

CreatePlatformApplication

ADM-客戶機密是一個空字符串

用戶端密碼所需的字串為 null。

400

CreatePlatformApplication

ADM-客戶端秘密是空字符串

用戶端密碼所需的字串為空白。

400

CreatePlatformApplication

ADM— 用戶端密碼無效

用戶端密碼所需的字串無效。

400

CreatePlatformApplication

ADM-客戶端 ID 是空字符串

用戶端 ID 所需的字串為空白。

400

CreatePlatformApplication

ADM— clientId 未提供

用戶端 ID 所需的字串未提供。

400

CreatePlatformApplication

ADM-客戶端是一個空字符串

用戶端 ID 所需的字串為 null。

400

CreatePlatformApplication

ADM— 用戶端識別碼無效

用戶端 ID 所需的字串無效。

400

CreatePlatformApplication

EventEndpointCreated ARN格式無效

EventEndpointCreated ARN格式無效。

400

CreatePlatformApplication

EventEndpointDeleted ARN格式無效

EventEndpointDeleted ARN格式無效。

400

CreatePlatformApplication

EventEndpointUpdated ARN格式無效

EventEndpointUpdated ARN格式無效。

400

CreatePlatformApplication

EventDeliveryAttemptFailure ARN格式無效

EventDeliveryAttemptFailure ARN格式無效。

400

CreatePlatformApplication

EventDeliveryFailure ARN格式無效

EventDeliveryFailure ARN格式無效。

400

CreatePlatformApplication

EventEndpointCreated 不是現有的主題

EventEndpointCreated 不是現有的主題。

400

CreatePlatformApplication

EventEndpointDeleted 不是現有的主題

EventEndpointDeleted 不是現有的主題。

400

CreatePlatformApplication

EventEndpointUpdated 不是現有的主題

EventEndpointUpdated 不是現有的主題。

400

CreatePlatformApplication

EventDeliveryAttemptFailure 不是現有的主題

EventDeliveryAttemptFailure 不是現有的主題。

400

CreatePlatformApplication

EventDeliveryFailure 不是現有的主題

EventDeliveryFailure 不是現有的主題。

400

CreatePlatformApplication

平台ARN無效

平台ARN無效。

400

SetPlatformAttributes

平台ARN有效但不屬於用戶

平台ARN有效,但不屬於用戶。

400

SetPlatformAttributes

APNs— 主體不是有效的憑證

為APNs主體 (即憑證) 提供了無效的SSL憑證。如需詳細資訊,請參閱 Amazon 簡易通知服務API參考CreatePlatformApplication中的。

400

SetPlatformAttributes

APNs— 主體是有效的憑證,但不是 .pem 格式

已為APNs主體 (即憑證) 提供不是 .pem 格式的有效憑證。SSL

400

SetPlatformAttributes

APNs— 主體是過期的憑證

為APNs主體 (即憑證) 提供過期的SSL憑證。

400

SetPlatformAttributes

APNs— 校長不是蘋果公司頒發的證書

已為APNs主體 (即憑證) 提供非 Apple 核發的SSL憑證。

400

SetPlatformAttributes

APNs— 不提供本金

未提供APNs主體 (即SSL憑證)。

400

SetPlatformAttributes

APNs— 未提供憑證

未提供APNs認證 (即私密金鑰)。如需詳細資訊,請參閱 Amazon 簡易通知服務API參考CreatePlatformApplication中的。

400

SetPlatformAttributes

APNs— 認證不是有效的 .pem 格式

APNs身份證明 (私密金鑰) 不是有效的 .pem 格式。

400

SetPlatformAttributes

FCM— serverAPIKey 未提供

未提供FCM認證,即API金鑰。如需詳細資訊,請參閱 Amazon 簡易通知服務API參考CreatePlatformApplication中的。

400

SetPlatformAttributes

FCM— serverAPIKey 為空字串

認FCM證,也就是索API引鍵,是 null。

400

SetPlatformAttributes

ADM— clientId 未提供

用戶端 ID 所需的字串未提供。

400

SetPlatformAttributes

ADM-客戶端是一個空字符串

用戶端 ID 所需的字串為 null。

400

SetPlatformAttributes

ADM— 未提供客戶密碼

所需的用戶端密碼未提供。

400

SetPlatformAttributes

ADM-客戶機密是一個空字符串

用戶端密碼所需的字串為 null。

400

SetPlatformAttributes

EventEndpointUpdated ARN格式無效

EventEndpointUpdated ARN格式無效。

400

SetPlatformAttributes

EventEndpointDeleted ARN格式無效

EventEndpointDeleted ARN格式無效。

400

SetPlatformAttributes

EventEndpointUpdated ARN格式無效

EventEndpointUpdated ARN格式無效。

400

SetPlatformAttributes

EventDeliveryAttemptFailure ARN格式無效

EventDeliveryAttemptFailure ARN格式無效。

400

SetPlatformAttributes

EventDeliveryFailure ARN格式無效

EventDeliveryFailure ARN格式無效。

400

SetPlatformAttributes

EventEndpointCreated 不是現有的主題

EventEndpointCreated 不是現有的主題。

400

SetPlatformAttributes

EventEndpointDeleted 不是現有的主題

EventEndpointDeleted 不是現有的主題。

400

SetPlatformAttributes

EventEndpointUpdated 不是現有的主題

EventEndpointUpdated 不是現有的主題。

400

SetPlatformAttributes

EventDeliveryAttemptFailure 不是現有的主題

EventDeliveryAttemptFailure 不是現有的主題。

400

SetPlatformAttributes

EventDeliveryFailure 不是現有的主題

EventDeliveryFailure 不是現有的主題。

400

SetPlatformAttributes

平台ARN無效

平台ARN無效。

400

GetPlatformApplicationAttributes

平台ARN有效但不屬於用戶

該平台ARN有效,但不屬於用戶。

403

GetPlatformApplicationAttributes

指定的字符無效

指定的字符無效。

400

ListPlatformApplications

平台ARN無效

平台ARN無效。

400

ListEndpointsByPlatformApplication

平台ARN有效但不屬於用戶

該平台ARN有效,但不屬於用戶。

404

ListEndpointsByPlatformApplication

指定的字符無效

指定的字符無效。

400

ListEndpointsByPlatformApplication

平台ARN無效

平台ARN無效。

400

DeletePlatformApplication

平台ARN有效但不屬於用戶

該平台ARN有效,但不屬於用戶。

403

DeletePlatformApplication

平台ARN無效

平台ARN無效。

400

CreatePlatformEndpoint

平台ARN有效但不屬於用戶

該平台ARN有效,但不屬於用戶。

404

CreatePlatformEndpoint

未指定字符

未指定字符。

400

CreatePlatformEndpoint

字符不是正確的長度

字符不是正確的長度。

400

CreatePlatformEndpoint

客戶使用者資料過大

客戶使用者資料的長度不能超過 2048 個位元組 (UTF-8 編碼)。

400

CreatePlatformEndpoint

端點ARN無效

端點ARN無效。

400

DeleteEndpoint

端點ARN有效,但不屬於使用者

端點ARN有效,但不屬於使用者。

403

DeleteEndpoint

端點ARN無效

端點ARN無效。

400

SetEndpointAttributes

端點ARN有效,但不屬於使用者

端點ARN有效,但不屬於使用者。

403

SetEndpointAttributes

未指定字符

未指定字符。

400

SetEndpointAttributes

字符不是正確的長度

字符不是正確的長度。

400

SetEndpointAttributes

客戶使用者資料過大

客戶使用者資料的長度不能超過 2048 個位元組 (UTF-8 編碼)。

400

SetEndpointAttributes

端點ARN無效

端點ARN無效。

400

GetEndpointAttributes

端點ARN有效,但不屬於使用者

端點ARN有效,但不屬於使用者。

403

GetEndpointAttributes

目標ARN無效

目標ARN無效。

400

Publish

目標ARN有效,但不屬於使用者

目標ARN有效,但不屬於使用者。

403

Publish

訊息格式無效

訊息格式無效。

400

Publish

訊息大小大於協定/終端服務所支援的大小

訊息大小大於協定/終端服務所支援的大小。

400

Publish