2015-06-16 07:48



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!

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答


  • dsgoj7457 dsgoj7457 6年前

    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.

    点赞 评论 复制链接分享