Reputation: 247
I have a table with more than 50000 googleID. I try push notification with GCM and PHP but it showing error "Request Entity Too Large Error 413"
. How to fix it? Thanks!
Upvotes: 2
Views: 1500
Reputation: 21564
413 is a standard HTTP code. Take a look at Wikipedia it says that :
413 Request Entity Too Large
The request is larger than the server is willing or able to process.
It means what it means, you are making a very big request, maybe a long text or json, or whatever, reduce its size...
According to GCM doc limitations are like so (I think you use HTTP):
Upstream/Downstream messages
HTTP: Downstream only, cloud-to-device up to 4KB of data.
Upvotes: 1