本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
常见的 Amazon SNS 移动推送API错误
下表列出了 Amazon SNS APIs 为移动推送返回的错误。有关 Amazon 移动版推送SNSAPIs的更多信息,请参阅移动推送API操作。
错误 | 描述 | HTTPS状态码 | API行动 |
---|---|---|---|
应用程序名称为空字符串 |
必需的应用程序名称设置为空。 |
400 |
|
平台名称为空字符串 |
必需的平台名称设置为空。 |
400 |
|
平台名称无效 |
为平台名称提供的或 out-of-range 值无效。 |
400 |
|
APNs— 校长不是有效的证书 |
为APNs主体(即证书)提供的SSL证书无效。有关更多信息,请参阅CreatePlatformApplication《Amazon 简单通知服务API参考》。 |
400 |
|
APNs— Principal 是有效的证书,但不是.pem 格式 |
为APNs主体(即证书)提供了非.pem 格式的有效证书。SSL |
400 |
|
APNs— 主体是已过期的证书 |
为APNs主体提供了过期的证书,即SSL证书。 |
400 |
|
APNs— 委托人不是 Apple 颁发的证书 |
为APNs委托人提供了非 Apple 颁发的证书,即SSL证书。 |
400 |
|
APNs— 未提供本金 |
没有提供APNs委托人,即SSL证书。 |
400 |
|
APNs— 未提供凭证 |
未提供作为私钥的APNs凭证。有关更多信息,请参阅CreatePlatformApplication《Amazon 简单通知服务API参考》。 |
400 |
|
APNs— 凭证不是有效的.pem 格式 |
作为私钥的APNs凭证不是有效的.pem 格式。 |
400 |
|
FCM— serverAPIKey 未提供 |
没有提供作为API密钥的FCM凭证。有关更多信息,请参阅CreatePlatformApplication《Amazon 简单通知服务API参考》。 |
400 |
|
FCM— serverAPIKey 为空 |
作为密API钥的FCM凭据为空。 |
400 |
|
FCM— serverAPIKey 是一个空字符串 |
作为密API钥的FCM凭据为空。 |
400 |
|
FCM— serverAPIKey 无效 |
作为密API钥的FCM凭证无效。 |
400 |
|
ADM— 未提供客户机密信息 |
未提供必需的客户端密钥。 |
400 |
|
ADM— clientsecret 是一个空字符串 |
客户端密钥所需的字符串为空。 |
400 |
|
ADM— client_secret 为空字符串 |
客户端密钥所需的字符串为空。 |
400 |
|
ADM— client_secret 无效 |
客户端密钥所需的字符串无效。 |
400 |
|
ADM— client_id 为空字符串 |
客户端 ID 所需的字符串为空。 |
400 |
|
ADM— clientId 未提供 |
未提供客户端 ID 所需的字符串。 |
400 |
|
ADM— clientid 是一个空字符串 |
客户端 ID 所需的字符串为空。 |
400 |
|
ADM— 客户端 ID 无效 |
客户端 ID 所需的字符串无效。 |
400 |
|
EventEndpointCreated ARN格式无效 |
EventEndpointCreated ARN格式无效。 |
400 |
|
EventEndpointDeleted ARN格式无效 |
EventEndpointDeleted ARN格式无效。 |
400 |
|
EventEndpointUpdated ARN格式无效 |
EventEndpointUpdated ARN格式无效。 |
400 |
|
EventDeliveryAttemptFailure ARN格式无效 |
EventDeliveryAttemptFailure ARN格式无效。 |
400 |
|
EventDeliveryFailure ARN格式无效 |
EventDeliveryFailure ARN格式无效。 |
400 |
|
EventEndpointCreated 不是一个现有的话题 |
EventEndpointCreated 不是一个现有的主题。 |
400 |
|
EventEndpointDeleted 不是一个现有的话题 |
EventEndpointDeleted 不是一个现有的主题。 |
400 |
|
EventEndpointUpdated 不是一个现有的话题 |
EventEndpointUpdated 不是一个现有的主题。 |
400 |
|
EventDeliveryAttemptFailure 不是一个现有的话题 |
EventDeliveryAttemptFailure 不是一个现有的主题。 |
400 |
|
EventDeliveryFailure 不是一个现有的话题 |
EventDeliveryFailure 不是一个现有的主题。 |
400 |
|
平台ARN无效 |
平台ARN无效。 |
400 |
|
ARN平台有效但不属于用户 |
平台ARN有效,但不属于用户。 |
400 |
|
APNs— 校长不是有效的证书 |
为APNs主体(即证书)提供的SSL证书无效。有关更多信息,请参阅CreatePlatformApplication《Amazon 简单通知服务API参考》。 |
400 |
|
APNs— Principal 是有效的证书,但不是.pem 格式 |
为APNs主体(即证书)提供了非.pem 格式的有效证书。SSL |
400 |
|
APNs— 主体是已过期的证书 |
为APNs主体提供了过期的证书,即SSL证书。 |
400 |
|
APNs— 委托人不是 Apple 颁发的证书 |
为APNs委托人提供了非 Apple 颁发的证书,即SSL证书。 |
400 |
|
APNs— 未提供本金 |
没有提供APNs委托人,即SSL证书。 |
400 |
|
APNs— 未提供凭证 |
未提供作为私钥的APNs凭证。有关更多信息,请参阅CreatePlatformApplication《Amazon 简单通知服务API参考》。 |
400 |
|
APNs— 凭证不是有效的.pem 格式 |
作为私钥的APNs凭证不是有效的.pem 格式。 |
400 |
|
FCM— serverAPIKey 未提供 |
没有提供作为API密钥的FCM凭证。有关更多信息,请参阅CreatePlatformApplication《Amazon 简单通知服务API参考》。 |
400 |
|
FCM— serverAPIKey 是一个空字符串 |
作为密API钥的FCM凭据为空。 |
400 |
|
ADM— clientId 未提供 |
未提供客户端 ID 所需的字符串。 |
400 |
|
ADM— clientid 是一个空字符串 |
客户端 ID 所需的字符串为空。 |
400 |
|
ADM— 未提供客户机密信息 |
未提供必需的客户端密钥。 |
400 |
|
ADM— clientsecret 是一个空字符串 |
客户端密钥所需的字符串为空。 |
400 |
|
EventEndpointUpdated ARN格式无效 |
EventEndpointUpdated ARN格式无效。 |
400 |
|
EventEndpointDeleted ARN格式无效 |
EventEndpointDeleted ARN格式无效。 |
400 |
|
EventEndpointUpdated ARN格式无效 |
EventEndpointUpdated ARN格式无效。 |
400 |
|
EventDeliveryAttemptFailure ARN格式无效 |
EventDeliveryAttemptFailure ARN格式无效。 |
400 |
|
EventDeliveryFailure ARN格式无效 |
EventDeliveryFailure ARN格式无效。 |
400 |
|
EventEndpointCreated 不是一个现有的话题 |
EventEndpointCreated 不是一个现有的主题。 |
400 |
|
EventEndpointDeleted 不是一个现有的话题 |
EventEndpointDeleted 不是一个现有的主题。 |
400 |
|
EventEndpointUpdated 不是一个现有的话题 |
EventEndpointUpdated 不是一个现有的主题。 |
400 |
|
EventDeliveryAttemptFailure 不是一个现有的话题 |
EventDeliveryAttemptFailure 不是一个现有的主题。 |
400 |
|
EventDeliveryFailure 不是一个现有的话题 |
EventDeliveryFailure 不是一个现有的主题。 |
400 |
|
平台ARN无效 |
平台ARN无效。 |
400 |
|
ARN平台有效但不属于用户 |
ARN该平台有效,但不属于用户。 |
403 |
|
指定的令牌无效 |
指定的令牌无效。 |
400 |
|
平台ARN无效 |
平台ARN无效。 |
400 |
|
ARN平台有效但不属于用户 |
ARN该平台有效,但不属于用户。 |
404 |
|
指定的令牌无效 |
指定的令牌无效。 |
400 |
|
平台ARN无效 |
平台ARN无效。 |
400 |
|
ARN平台有效但不属于用户 |
ARN该平台有效,但不属于用户。 |
403 |
|
平台ARN无效 |
平台ARN无效。 |
400 |
|
ARN平台有效但不属于用户 |
ARN该平台有效,但不属于用户。 |
404 |
|
Token is not specified |
未指定令牌。 |
400 |
|
Token is not of correct length |
令牌长度不正确。 |
400 |
|
Customer User data is too large |
在 UTF -8 编码中,客户用户数据的长度不能超过 2048 字节。 |
400 |
|
终端节点ARN无效 |
终端节点ARN无效。 |
400 |
|
终ARN端节点有效但不属于用户 |
终端节点ARN有效,但不属于用户。 |
403 |
|
终端节点ARN无效 |
终端节点ARN无效。 |
400 |
|
终ARN端节点有效但不属于用户 |
终端节点ARN有效,但不属于用户。 |
403 |
|
Token is not specified |
未指定令牌。 |
400 |
|
Token is not of correct length |
令牌长度不正确。 |
400 |
|
Customer User data is too large |
在 UTF -8 编码中,客户用户数据的长度不能超过 2048 字节。 |
400 |
|
终端节点ARN无效 |
终端节点ARN无效。 |
400 |
|
终ARN端节点有效但不属于用户 |
终端节点ARN有效,但不属于用户。 |
403 |
|
目标ARN无效 |
目标ARN无效。 |
400 |
|
目标有效ARN但不属于该用户 |
目标ARN有效,但不属于该用户。 |
403 |
|
消息格式无效 |
消息格式无效。 |
400 |
|
消息大小超过协议/端节点服务支持的范围 |
消息大小超过协议/端节点服务支持的范围。 |
400 |
|