web-push-libs / web-push-csharp

Web Push library for C#
Mozilla Public License 2.0
429 stars 108 forks source link

Exception while passsing the payload parameter #22

Closed binaamir closed 6 years ago

binaamir commented 6 years ago

Hi, I am able to send the the simple notification without the payload but when I pass the payload parameter an exception is thrown webPushClient.SendNotification(subscription, @"payload");

the exception text is: FormatException: Invalid point encoding 63 Where I am doing wrong?

coryjthompson commented 6 years ago

Hi @binaamir,

Have you found any more information about this exception? I looked up the exception message and it's related to the ECCurve library. My guess would be invalid P256DH or Auth details.