Skip to content

Handle more than 100 recipients when sending notifications #77

@josephajibodu

Description

@josephajibodu

Error occurs whenever notification is being sent to over 100 recipients.

Unexpected response was received from Expo API. (ExponentPhpSDK\\Exceptions\\UnexpectedResponseException(code: 500): Unexpected response was received from Expo API. at .../vendor/alymosul/exponent-server-sdk-php/lib/Expo.php:221)

Exploring further, here's the actual error message

You can send a maximum of 100 notifications per request (received 7768); divide your requests. {"userId":5,"exception":"[object] (ExponentPhpSDK\\Exceptions\\UnexpectedResponseException(code: 500): You can send a maximum of 100 notifications per request (received 7768); divide your requests. at .../vendor/alymosul/exponent-server-sdk-php/lib/Expo.php:221)

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