Welcome!

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

BlackBerry Push Development

Reply
Developer
swap_chau
Posts: 179
Registered: ‎06-15-2011
My Device: Storm 9550

Push error: PD_pushRequest has been taken out of service

Hi,

Few days ago my implentation of Push was working fine, but now I started receiving error on server. The response returned is shown below: 

 

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">	
<title>Pushdata Service</title>
	<body bgcolor="white" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">		
	<form enctype="application/x-www-form-urlencoded" method="get">			
	<!-- Header -->			<!-- static error header library -->												
	<br clear="none"/>			
	<!-- Errorcode -->			
	<!-- dynamic @[errorcode] token -->						
	<font color="#777777" size="1" style="verdana">
	Error 
	</font>			
	<br clear="none"/>			
	<br clear="none"/>						
	<!-- Errorbody -->			
	<!-- dynamic @[errorbody] token -->						
	<font color="#777777" size="1" style="verdana">
	The content you have requested is not available</font>			
	<br clear="none"/>						
	<!-- Error message -->			
	<!-- dynamic @[errormsg] token -->						
	<br clear="none"/>			
	<font color="#777777" size="1" style="verdana">PD_pushRequest has been taken out of service: null
	</font>			<br clear="none"/>			
	<br clear="none"/>						
	<!-- Footer -->			
	!-- static error footer library -->												
	<br clear="none"/>		
	</form>	
	</body>
	</html>

 

 

We are using evaluation account. the url is: https://pushapi.eval.blackberry.com/mss/PD_pushRequest Is there some problem with BB servers?

Please use plain text.
New Member
vinodbeloshe
Posts: 1
Registered: ‎01-03-2013
My Device: BlackBerry® Bold™ 9930

Re: Push error: PD_pushRequest has been taken out of service

Hi,
       BB push server url for evaluation account https://pushapi.eval.blackberry.com/mss/PD_pushRequest is correct, but there seems problem in push request message.
If you miss the request parameters like:
- auth header (AppID:smileytongue:assword)
- content to be pushed to BlackBerry device
in this cases BB push server replies with 'unexpected' html page. Where it specifies that 'PD_pushRequest has been taken out of service' followed by specific error message.
i.e. PD_pushRequest has been taken out of service: null
So do check the requst message body before being sent to BB push server.
            Actually BB push server is expected to replies with the same format i.e. PAP same as it replies if the push request message is correct. Because developer normally used to set xml parser for PAP format and in such case of html reposnse it won't get parsed correctly.

Please use plain text.