Quantcast
Channel: The Echo Nest Developer Forum
Viewing all articles
Browse latest Browse all 1582

Invalid api key iOS 8

$
0
0

Hi I am getting this error. It appears to not recognize my key. Does the enios wrapper not work with iOS 8?

{ response = { status = { code = 1; message = "1|Invalid key: Unknown"; version = "4.2"; }; }; }

Here is the code NSMutableDictionary *params = [NSMutableDictionary new]; [params setValue: @"MY_API_KEY" forKey: @"api_key"]; [params setValue: @"RadioHead" forKey: @"artist"]; [params setValue: @"1" forKey: @"results"];

[ENAPIRequest GETWithEndpoint: @"song/search" andParameters:params andCompletionBlock: ^(ENAPIRequest *request) {
    // deal with the response

}];

Viewing all articles
Browse latest Browse all 1582

Trending Articles