×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2014
    Posts
    5

    MixRadio SDK Explorer: exception when tapping on Validate Device Country

    Hello,
    I'm getting started with the MixRadio SDK, so I downloaded the sample application: MixRadio SDK Explorer. I got a Client Id and a Client Secret, and put them in the respective variables in ApiKeys.cs.
    The app launches fine, but when I tap the button Validate Device Country, the app crashes with a ApiCallFailedException. In Visual Studio console I can see the JSON response:

    Code:
    {
      "uri": "http://api.ent.nokia.com/1.x/?client_id=MY_CLIENT_ID_IS_HERE&domain=music&countrycode=it",
      "errorResponseBody": "{\"statuscode\":401,\"type\":\"error\",\"message\":\"Client Id is invalid\"}",
      "statusCode": "Unauthorized"
    }
    Any idea why?
    Thank you in advance!

  2. #2
    Super Contributor
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    576

    Re: MixRadio SDK Explorer: exception when tapping on Validate Device Country

    Is MixRadio available in the region your device or emulator is set to?

  3. #3
    Registered User
    Join Date
    Feb 2014
    Posts
    5

    Re: MixRadio SDK Explorer: exception when tapping on Validate Device Country

    Yes, it is.
    Now it works. I've just discovered the problem: I tried the app only few minutes after I got the Client Id. It seems that I had to wait some time before the id was actually saved on Nokia's servers.

  4. #4
    Super Contributor
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    576

    Re: MixRadio SDK Explorer: exception when tapping on Validate Device Country

    Quote Originally Posted by K1kk0z90 View Post
    Yes, it is.
    Now it works. I've just discovered the problem: I tried the app only few minutes after I got the Client Id. It seems that I had to wait some time before the id was actually saved on Nokia's servers.
    I'm glad it was something simple in the end. Happy coding.

Similar Threads

  1. Doc error: Links to HERE REST API Explorer actually link to JavaScript API Explorer
    By okoskimies in forum Feedback - Nokia Developer Services & Infrastructure
    Replies: 0
    Last Post: 2013-04-03, 11:20
  2. Nokia Store downloads/sales by device, country & language
    By andynugent in forum (Closed) Online Reports and Payments
    Replies: 1
    Last Post: 2011-11-04, 23:47
  3. WServer -6 exception on E72 device.
    By AbhijeethHiliyana in forum Mobile Java General
    Replies: 0
    Last Post: 2011-01-20, 07:52
  4. How to Get Country Code from Device
    By piyer in forum Symbian
    Replies: 2
    Last Post: 2010-08-25, 15:46
  5. How to get the country code or country name
    By gpalvia in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-02-26, 19:18

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×