ios - Parse Returns Unauthorized Error -


i downloaded parse starter project swift, filled out parse.setapplicationid() method contained app id , master key app deployed through heroku, , when ran it, got following errors:

2016-06-01 18:19:02.063 parsestarterproject[66355:25475020] [error]: unauthorized (code: 100, version: 1.7.5)
2016-06-01 18:19:02.064 parsestarterproject[66355:25475023] [error]: failed run command error: error domain=parse code=100 "unauthorized" userinfo={code=100, originalerror=error domain=nsurlerrordomain code=-1011 "(null)", temporary=0, error=unauthorized, nslocalizeddescription=unauthorized}

you should use code :

let configuration = parseclientconfiguration {     $0.applicationid = kparseapplicationid     $0.clientkey = kparseclientkey     $0.server = kparseserverurl     $0.localdatastoreenabled = true } parse.initializewithconfiguration(configuration) 

Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo