Support Topics Documentation Slack YouTube Blog

ErrorMessage on MessageStatus


(Christophe) #1

Hi,

I’m testing Messaging Service API.
When I run the code below, I get this Error :

ReferenceError: Error #1056: Cannot create property errorMessage on com.backendless.messaging.MessageStatus.

There is something missing?

Thanks in advance,

Regards,

Christophe

var asyncToken:AsyncToken = Backendless.Messaging.publish( "hello world" );

				

asyncToken.addResponder( new mx.rpc.Responder( function( event:ResultEvent ):void

{

	var messageStatus:MessageStatus = event.result as MessageStatus;

	trace( "message has been published. message id - " + messageStatus.messageId );

	trace( "message status - " + messageStatus.status );

					

},

function faultEvent( fault:FaultEvent ):void

{

	trace( "received error - " + fault.toString() );

}) );




(Sergey Chupov) #2

Hi Cristophe,

Have you solved the problem yet?