Get the following error messages when use server.SendPushNotification API:
"Only one of the following properties can be defined: Message, Package, AdvancedPlatformDelivery"
"iOS Push Notification Failed: ValidationError 1 validation error detected: Value null at 'message' failed to satisfy constraint: Member must not be null"
This is for title 78C39 and 8CE12
Answer by mobilEKG · Sep 14, 2021 at 10:28 PM
@Rick Chen
Thanks for the help! Here I did more test and confirm this is the error message when I use AdvancedPlatformDelivery property at server.SendPushNotification API:
"iOS Push Notification Failed: ValidationError 1 validation error detected: Value null at 'message' failed to satisfy constraint: Member must not be null"
Could you take a look for these titles 78C39 and 8CE12 in your side? It seems ticket system is only for paid subscriptions, we must buy the certain plan to fix this issue?
I have reported this issue to the corresponding team and I will let you know if there is any update, your patience is appreciated.
According to the team, it seems like you are on a v1 version of push notifications but are trying to use a v2 feature. If you want to upgrade, you can go to the push notifications page in game manager and click the "Upgrade push notifications" button.
Answer by Rick Chen · Sep 14, 2021 at 03:15 AM
The first error message, "Only one of the following properties can be defined: Message, Package, AdvancedPlatformDelivery", suggest that you should put only one of the following properties in your request body: Message, Package, AdvancedPlatformDelivery. If you put 2 or more properties, it will result in this error. You could refer to this similar thread: https://community.playfab.com/questions/50191/sendpushnotification-advancedplatformdelivery-on-a.html.
The second error message, "iOS Push Notification Failed: ValidationError 1 validation error detected: Value null at 'message' failed to satisfy constraint: Member must not be null", it could be that your title is still on an earlier version of our push notification code. If you believe that's the case for your issue, please submit a support ticket so that we can take a look for you. You can refer to this thread: https://community.playfab.com/questions/46942/serversendpushnotification-with-advancedplatformde.html.
ailed to import package with error: Couldn't decompress package 1 Answer
Playfab action-event server system 1 Answer
Recived notification showing without "Subject" 1 Answer
Does Azure Function Clod scripts work with Azure Signal-R? 1 Answer
Sending Push Notifications on iOS with title and message from Cloud Script 2 Answers