The community forums are in BETA and closed to the public.

When sending message error occure

when i am using PNConfiguration *myConfig = [PNConfiguration configurationForOrigin:@"" publishKey:@"demo" subscribeKey:@"demo" secretKey:nil]; it works but when i replace publisKey , subscribeKey and secretKey with my app keys then error occure on sending message. PNServiceChannel (0x7ff929c45880) [CHANNEL::PNServiceConnectionIdentifier] RECIEVED RESPONSE: HTTP STATUS CODE: 403 STATUS MESSAGE: Forbidden IS ERROR RESPONSE? YES CONNECTION WILL BE CLOSE? NO RESPONSE SIZE: 118 RESPONSE CONTENT SIZE: 118 IS JSONP: YES CALLBACK METHOD: m SERVICE NAME: Access Manager REQUEST IDENTIFIER: 356b7 RESPONSE: { channels = ( demo ); } ADDITIONAL DATA: (null) (STATE: 8) 2015-03-27 12:32:56.066 PubNub Demonstration[1937:62938] PNServiceChannel (0x7ff929c45880) [CHANNEL::PNServiceConnectionIdentifier] MESSAGE: dsfgsg\nSENDING TO CHANNEL: PNChannel(0x7ff929c2e420) demo\nFAILED WITH ERROR: 2015-03-27 12:32:56.066 PubNub Demonstration[1937:62938] PubNub (0x7ff929f104e0) FAILED TO SEND MESSAGE BECAUSE OF ERROR (STATE: 'connected')

any solution thanx

Login or Signup to post a comment