Skip to content

Error 400 thrown when sending push notification to Windows devices #48

@ignasdamunskis

Description

@ignasdamunskis

First of all, very good package, love it! I use version 0.9 since my PHP is version 7.4.

Most of the times it works as expected. Push notifications to Android Chrome and iOS Safari (90% of user devices) are sending without any issues, I had some issues with Android Firefox, it was throwing 413, but resolved decreasing the max padding length to 2847.

The issue I don't know how to resolve is sending push notifications to my clients using Windows devices, I always get an error 400 for endpoints: https://wns2-par02p.notify.windows.com/w/?token=...

I usualy log the notification errors as it happens, but since PushResponse class has no message property I can't properly debug the issue. Anyone else facing the issue, or knows how o resolve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions