question

jsbourdon avatar image
jsbourdon asked

CloudScript server.sendPushNotification empty exception

When calling server.sendPushNotification in our CloudScript, it always fail with an empty exception. How can I get specific information on what's going wrong? We have push notifications configured for both Android and iOS and the recipient of the notification has a device registered.

CloudScript
10 |1200

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

1 Answer

·
jsbourdon avatar image
jsbourdon answered

Never mind, 2 minutes after posting my question, I found a dumb mistake in the script explaining the behavior. Everything works as expected.

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.