406 Not Acceptable may be returned when sending a web push notification to Microsoft Edge based on RFC 8292

takada 31 Reputation points
2022-07-25T08:08:10.747+00:00

406 Not Acceptable may be returned when sending a web push notification to Microsoft Edge based on RFC 8292.
I would like information on this event.

We are trying to send a web push to various browsers.
For Microsoft Edge as well, we calculate the VAPID, set the Authorization to that value, and send the request to the endpoint https://*.notify.windows.com/w/?token=* .

If we send push notifications to many users, sometimes we receive '406 Not Acceptable' as responses.
If we receive this error, we can not send the message properly for about an hour to a day afterwards.
We understand that the '406 Not Acceptable' is due to throttling on Microsoft's part triggered by sending too many push notification requests in certain amount of time, but we are having trouble finding documentation on how much to send to be limited.

We would like information on the following points

  • The approximate rate of transmission and throttling that will not overload the service.
  • Can these limitations be relaxed by pre-authorizing the service, like push notifications to UWP applications?
  • Whether there is any technical text on these.

Thank you.

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,360 questions
0 comments No comments
{count} votes

Accepted answer
  1. XuDong Peng-MSFT 10,751 Reputation points Microsoft Vendor
    2022-07-26T06:02:56.217+00:00

    Hi @takada ,

    Yes, you are right. The error 406 Not Acceptable will be provided given if send excessive notifications. As described in the official documentation about this error message:

    224717-image.png

    As far as I know, there is no specifications from Microsoft about the policies applied for intervals or numbers, precisely to prevent circumventing or exploiting this policies by setting just the right amount of time to avoid the policy. And I also didn't find a policy that fits your needs in the Edge group policy documentation, so I'm afraid there is no such service to relax this restriction.

    Best regards,
    Xudong Peng


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


3 additional answers

Sort by: Most helpful
  1. Chris R 1 Reputation point
    2022-11-04T15:57:10.2+00:00

    Hi @XuDong Peng-MSFT Can you share a link to the documentation you're referencing? We're also facing this issue and we're not certain whether the rate limit applies to requests from a single IP, pushes to a given browser, or something else.


  2. damien dada 1 Reputation point
    2022-11-11T20:21:05.807+00:00

    Hi, i also have the same problem.

    0 comments No comments

  3. Franco Pellegrini 0 Reputation points
    2023-08-10T13:42:54.0666667+00:00

    I just send literally 8 notification, and get this error, since yesterday. Why? Is that a lot of notifications? I send around 10 per hour..

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.