选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

Amazon SNS 移动推送 API 常见错误

聚焦模式
Amazon SNS 移动推送 API 常见错误 - Amazon Simple Notification Service

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

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

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

错误 描述 HTTPS 状态代码 API 操作

Application Name is null string

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

400

CreatePlatformApplication

Platform Name is null string

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

400

CreatePlatformApplication

Platform Name is invalid

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

400

CreatePlatformApplication

APNs — 校长不是有效的证书

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

400

CreatePlatformApplication

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

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

400

CreatePlatformApplication

APNs — 主体是已过期的证书

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

400

CreatePlatformApplication

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

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

400

CreatePlatformApplication

APNs — 未提供本金

未提供 APNs 主体,即 SSL 证书。

400

CreatePlatformApplication

APNs — 未提供凭证

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

400

CreatePlatformApplication

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

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

400

CreatePlatformApplication

FCM — APIKey 未提供服务器

未提供 FCM 凭证(即 API 密钥)。有关更多信息,请参阅CreatePlatformApplication《亚马逊简单通知服务 API 参考》。

400

CreatePlatformApplication

FCM — 服务器APIKey 是空的

FCM 凭证(即 API 密钥)为空。

400

CreatePlatformApplication

FCM — 服务器APIKey 为空字符串

FCM 凭证(即 API 密钥)为 Null。

400

CreatePlatformApplication

FCM — 服务器APIKey 无效

FCM 凭证(即 API 密钥)无效。

400

CreatePlatformApplication

ADM — clientsecret is not provided

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

400

CreatePlatformApplication

ADM — clientsecret is a null string

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

400

CreatePlatformApplication

ADM — client_secret is empty string

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

400

CreatePlatformApplication

ADM — client_secret is not valid

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

400

CreatePlatformApplication

ADM — client_id is empty string

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

400

CreatePlatformApplication

ADM — clientId is not provided

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

400

CreatePlatformApplication

ADM — clientid is a null string

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

400

CreatePlatformApplication

ADM — client_id is not valid

客户端 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

Platform ARN is invalid

平台 ARN 无效。

400

SetPlatformAttributes

Platform ARN is valid but does not belong to the user

平台 ARN 有效,但不属于该用户。

400

SetPlatformAttributes

APNs — 校长不是有效的证书

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

400

SetPlatformAttributes

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

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

400

SetPlatformAttributes

APNs — 主体是已过期的证书

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

400

SetPlatformAttributes

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

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

400

SetPlatformAttributes

APNs — 未提供本金

未提供 APNs 主体,即 SSL 证书。

400

SetPlatformAttributes

APNs — 未提供凭证

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

400

SetPlatformAttributes

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

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

400

SetPlatformAttributes

FCM — APIKey 未提供服务器

未提供 FCM 凭证(即 API 密钥)。有关更多信息,请参阅CreatePlatformApplication《亚马逊简单通知服务 API 参考》。

400

SetPlatformAttributes

FCM — 服务器APIKey 为空字符串

FCM 凭证(即 API 密钥)为 Null。

400

SetPlatformAttributes

ADM — clientId is not provided

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

400

SetPlatformAttributes

ADM — clientid is a null string

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

400

SetPlatformAttributes

ADM — clientsecret is not provided

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

400

SetPlatformAttributes

ADM — clientsecret is a null string

客户端密钥所需的字符串为 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

Platform ARN is invalid

平台 ARN 无效。

400

GetPlatformApplicationAttributes

Platform ARN is valid but does not belong to the user

平台 ARN 有效,但不属于该用户。

403

GetPlatformApplicationAttributes

Token specified is invalid

指定的令牌无效。

400

ListPlatformApplications

Platform ARN is invalid

平台 ARN 无效。

400

ListEndpointsByPlatformApplication

Platform ARN is valid but does not belong to the user

平台 ARN 有效,但不属于该用户。

404

ListEndpointsByPlatformApplication

Token specified is invalid

指定的令牌无效。

400

ListEndpointsByPlatformApplication

Platform ARN is invalid

平台 ARN 无效。

400

DeletePlatformApplication

Platform ARN is valid but does not belong to the user

平台 ARN 有效,但不属于该用户。

403

DeletePlatformApplication

Platform ARN is invalid

平台 ARN 无效。

400

CreatePlatformEndpoint

Platform ARN is valid but does not belong to the user

平台 ARN 有效,但不属于该用户。

404

CreatePlatformEndpoint

Token is not specified

未指定令牌。

400

CreatePlatformEndpoint

Token is not of correct length

令牌长度不正确。

400

CreatePlatformEndpoint

Customer User data is too large

客户用户数据的长度不能超过 2048 个字节(UTF-8 编码)。

400

CreatePlatformEndpoint

Endpoint ARN is invalid

端点 ARN 无效。

400

DeleteEndpoint

Endpoint ARN is valid but does not belong to the user

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

403

DeleteEndpoint

Endpoint ARN is invalid

端点 ARN 无效。

400

SetEndpointAttributes

Endpoint ARN is valid but does not belong to the user

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

403

SetEndpointAttributes

Token is not specified

未指定令牌。

400

SetEndpointAttributes

Token is not of correct length

令牌长度不正确。

400

SetEndpointAttributes

Customer User data is too large

客户用户数据的长度不能超过 2048 个字节(UTF-8 编码)。

400

SetEndpointAttributes

Endpoint ARN is invalid

端点 ARN 无效。

400

GetEndpointAttributes

Endpoint ARN is valid but does not belong to the user

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

403

GetEndpointAttributes

Target ARN is invalid

目标 ARN 无效。

400

Publish

Target ARN is valid but does not belong to the user

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

403

Publish

Message format is invalid

消息格式无效。

400

Publish

Message size is larger than supported by protocol/end-service

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

400

Publish

隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。