Closed AravindhanRadhakrishnanTartLabs closed 8 months ago
Please see https://firebase-php.readthedocs.io/en/stable/cloud-messaging.html#error-handling for the different errors.
There's nothing this library can do about server errors, this is on the Firebase Service's side and sometimes happens.
Unknown registration tokens (the docs explain how this can happen) are not recoverable, I'd recommend removing them from your system (you can't do anything with them), but, of course, that's up to you 😅
Describe the bug
I have used kreait/laravel-firebase package in Laravel framework. I'm trying to send bulk push notification, But some users are not getting the notification. It randomly occurs to some users. Can't find the exact solution for this problem.
Following the custom error logs from firebase: Requested entity was not found. Internal error encountered
Installed packages
PHP version and extensions
Steps to reproduce the issue.
$message = CloudMessage::new(); $androidConfig = AndroidConfig::fromArray([ 'ttl' => '3600s', 'priority' => 'normal', 'notification' => [ 'title' => $notificationBody['title'], 'body' => $notificationBody['body'], 'color' => '#16BFFF', ], ]);
Error message/Stack trace
Additional information
No response