What are the possible reasons to get APNs responses BadDeviceToken or Unregistered?

前端 未结 6 1569
离开以前
离开以前 2021-02-01 14:38

When sending notifications to iOS users, for some of them I get response status code 400 (BadDeviceToken) or code 410 (Unregistered).

From Apple documentation about \"Ba

6条回答
  •  日久生厌
    2021-02-01 15:19

    I was sending a "development" device token to the "production" apple push servers. I fixed it by sending requests to api.development.push.apple.com instead of api.push.apple.com

提交回复
热议问题