google app engine - iOS GCM error code 501 -


recently start error code whenever try use gcm apis in ios app: error domain=com.google.gcm code=501 "(null)"

i couldn't find meaning of anywhere? http-status code, meaning not implemented?

i'm getting error first @ line of code:

        gcmservice.sharedinstance().connectwithhandler() { error in  if(error != nil) {   print(error) } } 

calling method prints message :

gcm | gcm registration not ready auth credentials

and error error domain=com.google.gcm code=501 "(null)"

the error occurred because calling

gcmservice.sharedinstance().connectwithhandler() { error in  if(error != nil) {   print(error) } }  

before had received registration token, or had failed refresh token.

"error domain=com.google.gcm code=501 "(null)" " bad error message.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -