1

I recently encountered receiving a response from APNS that a payload being sent was too large(receiving status code 7). What is incredibly confusing is that those push notifications are still making their way to devices. Is there anything I am overlooking that could cause a push notification to receive this status code but actually still make it to the device?

Alex Harris
  • 6,172
  • 2
  • 32
  • 57
  • 1
    http://stackoverflow.com/a/33440803/4549304 can this help? – Saurabh Yadav Feb 23 '17 at 19:04
  • @SaurabhYadav I am aware of the limits, I am just concerned that APNs told me that the payload was too large but that it still went through. – Alex Harris Feb 23 '17 at 19:07
  • This should not happen using production environment. Are you using Http/2 interface or the legacy binary interface? Also, are you testing using development environment? – Ayush Mar 24 '17 at 10:45

1 Answers1

0

error Missing payload And APNS Invalid Payload Size,etc these type error occur
when device token is invalid then these type error come so use valid device id or token

sanyam
  • 3
  • 5