Expo responses on push with connection_closed and retry_later

Often when we are sending many push notifications in sequence (about 100-150 notifications per second), we receiving the responses: “connection_closed”, “req_timedout”, “retry_later”. What can cause this errors? Does Expo have any limits for sending many notifications simultaneously?

1 Like

Hey @oklimenko,

Are you sending the notifications in chunks? For large batches of notifications, we recommend sending them in arrays of 100 to limit the number of requests to the Expo servers. You can see an example of using chunks here: https://github.com/expo/exponent-server-sdk-node

Cheers,

Adam

1 Like

Thank you, @adamjnav! Sending by chunks has helped to resolve the problem with connection:)

Awesome. Glad it helped you!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.