title: {"status":true,"message":"Number of messages on bulk (1016) exceeds maximum allowed (1000)\n"}
body: <p>i am getting this when i want to send push notifications to all users through firebase, I chunked array but getting same error. please help</p>
  <pre><code> $noti_title = $request-&gt;notif_title;
          $noti_body = $request-&gt;notif_body;
          if ($request-&gt;notif_to == 1) {
  
              $all_users  = \App\User::orderBy('id','desc')-&gt;pluck('id')-&gt;toArray();
              $all_user = array_chunk($all_users, 600);
              $all_firebase_tokens = [];
              foreach($all_user as $numbers){
                  foreach($numbers as $number){                   
                      array_push($all_firebase_tokens, \App\UserDeviceId::WhereIn('user_id',[$number])-&gt;pluck('firebase_token')-&gt;toArray());
                  }
              }
                  if(count($all_firebase_tokens) &gt; 0) {
                      $message = [
                          &quot;registration_ids&quot; =&gt; $all_firebase_tokens,
                          &quot;priority&quot; =&gt; 'high',
                          &quot;sound&quot; =&gt; 'default',
                          &quot;badge&quot; =&gt; '1',
                          &quot;data&quot; =&gt;
                          [
                              &quot;title&quot; =&gt; $noti_title,
                              &quot;body&quot;  =&gt; $noti_body,
                              &quot;type&quot; =&gt; 'Admin_notification',
                          ],
                          &quot;notification&quot; =&gt;
                          [
                              &quot;title&quot; =&gt; $noti_title,
                              &quot;body&quot;  =&gt; $noti_body,
                              &quot;type&quot; =&gt; 'Admin_notification',
                          ]
                      ];
                    return \App\PushNotification::send($message);
                  }
  </code></pre>