常见的 Amazon SNS 移动推送API错误 - Amazon Simple Notification Service

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

常见的 Amazon SNS 移动推送API错误

下表列出了 Amazon SNS APIs 为移动推送返回的错误。有关 Amazon 移动版推送SNSAPIs的更多信息,请参阅移动推送API操作

错误 描述 HTTPS状态码 API行动

应用程序名称为空字符串

必需的应用程序名称设置为空。

400

CreatePlatformApplication

平台名称为空字符串

必需的平台名称设置为空。

400

CreatePlatformApplication

平台名称无效

为平台名称提供的或 out-of-range 值无效。

400

CreatePlatformApplication

APNs— 校长不是有效的证书

为APNs主体(即证书)提供的SSL证书无效。有关更多信息,请参阅CreatePlatformApplication《Amazon 简单通知服务API参考》。

400

CreatePlatformApplication

APNs— Principal 是有效的证书,但不是.pem 格式

为APNs主体(即证书)提供了非.pem 格式的有效证书。SSL

400

CreatePlatformApplication

APNs— 主体是已过期的证书

为APNs主体提供了过期的证书,即SSL证书。

400

CreatePlatformApplication

APNs— 委托人不是 Apple 颁发的证书

为APNs委托人提供了非 Apple 颁发的证书,即SSL证书。

400

CreatePlatformApplication

APNs— 未提供本金

没有提供APNs委托人,即SSL证书。

400

CreatePlatformApplication

APNs— 未提供凭证

未提供作为私钥的APNs凭证。有关更多信息,请参阅CreatePlatformApplication《Amazon 简单通知服务API参考》。

400

CreatePlatformApplication

APNs— 凭证不是有效的.pem 格式

作为私钥的APNs凭证不是有效的.pem 格式。

400

CreatePlatformApplication

FCM— serverAPIKey 未提供

没有提供作为API密钥的FCM凭证。有关更多信息,请参阅CreatePlatformApplication《Amazon 简单通知服务API参考》。

400

CreatePlatformApplication

FCM— serverAPIKey 为空

作为密API钥的FCM凭据为空。

400

CreatePlatformApplication

FCM— serverAPIKey 是一个空字符串

作为密API钥的FCM凭据为空。

400

CreatePlatformApplication

FCM— serverAPIKey 无效

作为密API钥的FCM凭证无效。

400

CreatePlatformApplication

ADM— 未提供客户机密信息

未提供必需的客户端密钥。

400

CreatePlatformApplication

ADM— clientsecret 是一个空字符串

客户端密钥所需的字符串为空。

400

CreatePlatformApplication

ADM— client_secret 为空字符串

客户端密钥所需的字符串为空。

400

CreatePlatformApplication

ADM— client_secret 无效

客户端密钥所需的字符串无效。

400

CreatePlatformApplication

ADM— client_id 为空字符串

客户端 ID 所需的字符串为空。

400

CreatePlatformApplication

ADM— clientId 未提供

未提供客户端 ID 所需的字符串。

400

CreatePlatformApplication

ADM— clientid 是一个空字符串

客户端 ID 所需的字符串为空。

400

CreatePlatformApplication

ADM— 客户端 ID 无效

客户端 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证书无效。有关更多信息,请参阅CreatePlatformApplication《Amazon 简单通知服务API参考》。

400

SetPlatformAttributes

APNs— Principal 是有效的证书,但不是.pem 格式

为APNs主体(即证书)提供了非.pem 格式的有效证书。SSL

400

SetPlatformAttributes

APNs— 主体是已过期的证书

为APNs主体提供了过期的证书,即SSL证书。

400

SetPlatformAttributes

APNs— 委托人不是 Apple 颁发的证书

为APNs委托人提供了非 Apple 颁发的证书,即SSL证书。

400

SetPlatformAttributes

APNs— 未提供本金

没有提供APNs委托人,即SSL证书。

400

SetPlatformAttributes

APNs— 未提供凭证

未提供作为私钥的APNs凭证。有关更多信息,请参阅CreatePlatformApplication《Amazon 简单通知服务API参考》。

400

SetPlatformAttributes

APNs— 凭证不是有效的.pem 格式

作为私钥的APNs凭证不是有效的.pem 格式。

400

SetPlatformAttributes

FCM— serverAPIKey 未提供

没有提供作为API密钥的FCM凭证。有关更多信息,请参阅CreatePlatformApplication《Amazon 简单通知服务API参考》。

400

SetPlatformAttributes

FCM— serverAPIKey 是一个空字符串

作为密API钥的FCM凭据为空。

400

SetPlatformAttributes

ADM— clientId 未提供

未提供客户端 ID 所需的字符串。

400

SetPlatformAttributes

ADM— clientid 是一个空字符串

客户端 ID 所需的字符串为空。

400

SetPlatformAttributes

ADM— 未提供客户机密信息

未提供必需的客户端密钥。

400

SetPlatformAttributes

ADM— clientsecret 是一个空字符串

客户端密钥所需的字符串为空。

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

Token is not specified

未指定令牌。

400

CreatePlatformEndpoint

Token is not of correct length

令牌长度不正确。

400

CreatePlatformEndpoint

Customer User data is too large

在 UTF -8 编码中,客户用户数据的长度不能超过 2048 字节。

400

CreatePlatformEndpoint

终端节点ARN无效

终端节点ARN无效。

400

DeleteEndpoint

终ARN端节点有效但不属于用户

终端节点ARN有效,但不属于用户。

403

DeleteEndpoint

终端节点ARN无效

终端节点ARN无效。

400

SetEndpointAttributes

终ARN端节点有效但不属于用户

终端节点ARN有效,但不属于用户。

403

SetEndpointAttributes

Token is not specified

未指定令牌。

400

SetEndpointAttributes

Token is not of correct length

令牌长度不正确。

400

SetEndpointAttributes

Customer User data is too large

在 UTF -8 编码中,客户用户数据的长度不能超过 2048 字节。

400

SetEndpointAttributes

终端节点ARN无效

终端节点ARN无效。

400

GetEndpointAttributes

终ARN端节点有效但不属于用户

终端节点ARN有效,但不属于用户。

403

GetEndpointAttributes

目标ARN无效

目标ARN无效。

400

Publish

目标有效ARN但不属于该用户

目标ARN有效,但不属于该用户。

403

Publish

消息格式无效

消息格式无效。

400

Publish

消息大小超过协议/端节点服务支持的范围

消息大小超过协议/端节点服务支持的范围。

400

Publish