Skip to content

cn.jiguang.common.resp.APIRequestException: {"error":{"code":1003,"message":"The registration_id 140fe1da9e22a23f92f is invalid!"}} #165

Open
@pquanshan

Description

@pquanshan

1、消息结构1,可以推送成功。
return PushPayload.alertAll(ALERT)
2、消息结构2,推送失败,提示错误“The registration_id 140fe1da9e22a23f92f is invalid!”
return PushPayload.newBuilder()
.setPlatform(Platform.android())
.setAudience(Audience.registrationId(registrationId))
.setNotification(Notification.alert(ALERT))
.build();
3、Registration ID 140fe1da9e22a23f92f 使用 极光网页测试,推送成功。

请问什么原因???

另外怎么构建一个消息机构,指定设备推送,消息标题和内容。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions