Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by mobilEKG · Sep 13, 2021 at 12:30 AM · CloudScriptPush Notifications

Can't set up AdvancedPlatformDelivery for push notification

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

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

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?

Comment

People who like this

0 Show 2 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Rick Chen ♦ · Sep 15, 2021 at 08:23 AM 0
Share

I have reported this issue to the corresponding team and I will let you know if there is any update, your patience is appreciated.

avatar image Rick Chen ♦ · Sep 17, 2021 at 05:23 AM 2
Share

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.

avatar image

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.

Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    7 People are following this question.

    avatar image avatar image avatar image avatar image avatar image avatar image avatar image

    Related Questions

    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

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges