设置发送别名 就报400错


(Z Yx) #1
PushPayload payloadAndroid = new PushPayload();
                        payloadAndroid.platform = Platform.all();
                        payloadAndroid.audience = Audience.s_alias(hs);
                        var notification = new Notification();
                        notification.AndroidNotification = new AndroidNotification().setTitle("")
                                                                                    .setAlert(name + "")
                                                                                    .AddExtra("VideoId", Id);
                        payloadAndroid.notification = notification;
                        try
                        {
                            jpAndroid.SendPush(payloadAndroid);
                        }
                        catch (Exception ex)
                        {
                            LogHelper.WriteLog("推送信息出错:" + ex.ToString());
                        }

#2

请获取更详细的错误码
按一般来说是1011没有目标的错误