You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/vagrant/files/localove/management/commands/send_test_notification.py", line 13, in handle
devices.send_message(data={"test": "test"}, badge=5)
File "/home/vagrant/files/fcm-django/fcm_django/models.py", line 52, in send_message
*_kwargs
File "/home/vagrant/files/fcm-django/fcm_django/fcm.py", line 51, in fcm_send_bulk_message
*_kwargs
File "/home/vagrant/env/lib/python3.4/site-packages/pyfcm/fcm.py", line 190, in notify_multiple_devices
return self.send_request([payload])
File "/home/vagrant/env/lib/python3.4/site-packages/pyfcm/baseapi.py", line 200, in send_request
raise InternalPackageError("Please create a new github issue describing what you're doing")
pyfcm.errors.InternalPackageError: Please create a new github issue describing what you're doing
Basically what I was trying to do is send bulk message to an empty queryset. I do believe there are use cases when there are simply no devices that match the query and I think it should not be left to the user to check if the queryset count is larger than zero.
The text was updated successfully, but these errors were encountered:
xtrinch
changed the title
InternalPackageError
InternalPackageError when sending bulk message to an empty queryset
Oct 3, 2016
Basically what I was trying to do is send bulk message to an empty queryset. I do believe there are use cases when there are simply no devices that match the query and I think it should not be left to the user to check if the queryset count is larger than zero.
The text was updated successfully, but these errors were encountered: