question

Jose Jonatas avatar image
Jose Jonatas asked

Action for execute cloud script (push notification) dont work in segment

Push NotificationsPlayStream
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Seth Du avatar image Seth Du ♦ commented ·

Which segment are you using? Please note that if you are using All players and your player number base is extreme large, it won't work. May I have your title ID?

0 Likes 0 ·
Jose Jonatas avatar image Jose Jonatas Seth Du ♦ commented ·

My title ID 1B2EA, I'm currently using "Scheduled Tasks".

0 Likes 0 ·

1 Answer

·
Seth Du avatar image
Seth Du answered

I have checked your title. Besides of "InvalidParams" errors for some other APIs, which is normally caused by improper API requests, the error returned from SendPushNotification Server API call is PushNotEnabledForAccount.

Besides of configuring Push service on Game Manager, you may also need to register the device for the player to enable push service. Would you double-check the player account? Please refer to Push Notifications Tutorials - PlayFab | Microsoft Docs

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.