Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

New Developer
Posts: 39
Registered: ‎11-18-2008
My Device: Not Specified

HTTP 413 Error when downloading small files

I am receiving an HTTP 413 Error (Entity Too Large) when retrieving data through the company BES. We have increased the 
Maximum KB/Connection parameter from 256K to 512K and it has resolved the issue. However theresponse that we are getting 
back from the BES is expected to be well below 100K and therefore we should never have been getting the 413 error to begin 
with. I am invoking the server via an HTTP connection.
Is there a way to determine what the response size is that the BES sends back to the client? I have searched through the 
log files with no success. Has anyone ever encountered this error where they receive a 413 error when the response size is 
actually less than the maximum size?
Thanks in advance,
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: HTTP 413 Error when downloading small files

[ Edited ]

Perhaps BES sends more data than expected, for example resends some information, sends service bytes, etc.  And this cause 413 Error.


To debug this - try to use a third-party traffic log/analyzer application and check it more closely.


information from this site



My Research-In-Motion (RIM) cell phone gives me a HTTP 413 Error when I attempt to play back. What is wrong?



Older RIM devices were shipped with a limit of 128K on HTTP/GETs from the browser if the browser is the internet browser. Changing this limit to 1M chunks solves the problem. The default needs to be changed using the BES Management Console - it cannot be done on the phone itself.

By default, the BlackBerry Enterprise Server (BES) limits the response size of a single HTTP response to 128K. If you try to fetch anything bigger the application will receive a 413 (Request Entity Too Large) response code from the server. To get around this you must use the BES management console to change the value of the Maximum number of kilobytes per connection field to a higher value, up to 1024K.

Have your IT department log into the BES Management Console and do the following:

  • Locate the MDS_CS properties
  • Change the session limit to its max of 1024K. (This can be higher if you wish.)
Message Edited by tbilisoft on 12-12-2008 03:29 PM