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

BlackBerry Development Advisor
Posts: 15,882
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

HttpConnection statuscode 403 on 8800 device

Quote from the previous forum:

HttpConnection statuscode 403 on 8800 device
Posted: Jul 15, 2008 3:09 AM
In my blackberry application i doing HttpConnection
.My carrier is Airtel in India .i am appending wap parameters to base URL like :
(HttpConnection)Connector.open(baseURL+";WAPGatew ayIP=;WAPGatewayAPN=airtelgprs.com" );

using this same url when i send data i have observed some irregular behaviour like sometimes data posts to my server successfully returning status code 200 but some times i get 403.
what may be the reason ? is it from WAPGateway server of my carrier ..anybody has any clue ?please help


I recommend first making sure that the 403 is not originating from your own server.


If it is not then it could be coming from the WAP Gateway.  Carriers can restrict what is sent through their WAP Gateway.  Some examples of restrictions are the type of connection, the destination or the amount of data being sent.  Please contact the service provider to find out what restrictions they place on their WAP Gateway.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.