Finally it started to work without doing anything, maybe I was banned because using free tier? :) I do not know...
It took around one week before started to work
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I have created a simple code to create and register notification template, I have tried several templates, ones from the examples provided from Microsoft and also an empty one. I use property Templates and method CreateOrUpdateInstallacionAsync(...) and it works perfect without errors.
When I try to use this template using SendTemplateNotificationAsync I always receive this error (It's necessary enable EnableTestSend property) "Notification Payload Is invalid", but if I use native methods like SendWindowsNativeNotificationAsync() it works fine, the result is the same using code or using Azure Notification Hub portal option "Test send".
This result is the same despite I use parameters or not, also SendWindowsNativeNotificationAsync works fine with exactly the same payload.
Notification Hub log does not show more info about these errors, using Sevice Bus Explorer the error is the same.
This code works perfectly without errors with GCM/Firebase and Android, but with WNS it does not work.
Any clue?
Thanks.
Finally it started to work without doing anything, maybe I was banned because using free tier? :) I do not know...
It took around one week before started to work