Backendless Support
 
Waiting for user's response

ErrorMessage on MessageStatus

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

  1. 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() );

    }) );

Leave a Comment

Comments (1)

photo
1

Hi Cristophe,

Have you solved the problem yet?