ios - AFNetworking error 401 with Core Data - Parse Sync tutorial -
i going through tutorial 'how synchronize core data web service' at
http://www.raywenderlich.com/15916/how-to-synchronize-core-data-with-a-web-service-part-1 http://www.raywenderlich.com/15916/how-to-synchronize-core-data-with-a-web-service-part-2
and getting error on runtime several times
request class holiday failed error: error domain=com.alamofire.networking.error code=-1011 "expected status code in (200-299), got 401" userinfo=0xe2806d0 {nserrorfailingurlkey=https://api.parse.com/1/classes/holiday, nslocalizeddescription=expected status code in (200-299), got 401}
i guess 401 error code related authentication. signed @ parse , inserted proper application id , rest api keys code. not experienced in afnetworking library. suggestions?
thanks!
Comments
Post a Comment