Forums: 

I am trying to call gnsdk_manager_user_register(GNSDK_USER_REGISTER_MODE_ONLINE ...) but cannot work out from the (very poor) documentation and messages what the format for the client parts is. SDK and PDF doc version is 3.07.0.2861

So far the following strings appear in the doc and messages:

  1. client id string
  2. client id
  3. client id tag
  4. client tag  (dev page for my app)
  5. client tag id (yes really)
  6. Gracenote client id

I need the client id and client id tag as parameters to the function. According to the doc the client id string (1) is a 6 digit client id (2), a dash, and a 17 digit client id tag (3). (My client id (2) is actually 7 digits long and other bits of the doc say it is 8 digits. The client id tag is then shown elsewhere as ABCDEF0123456789ABCDEF012345679 which is neither all digits or 17 characters.)

Here is the log where the first number is the thread id, the second a timestamp and the rest self evident.  I have replaced my client id (2) digits with 9s.

[INFO] 140082052527872 1436920011.397 GNSDK version 3.07.0.2861 built 2014-10-28 01:36-0700
[DEBUG] 140082052527872 1436920011.460 package 129 error code 0x00810000 message gnsdk_musicid_initialize( 8166E0 )
[INFO] 140082052527872 1436920011.460 package 129 error code 0x00810000 message MusicID Initialize: Version 3.07.0.2861  Built 2014-10-28 01:36-0700
[DEBUG] 140082052527872 1436920011.460 package 128 error code 0x00800000 message gnsdk_manager_user_register( gnsdk_userregmode_online, 9999999, ABCDEF0123456789ABCDEF012345679, 1, 82E130 )
[INFO] 140082052527872 1436920011.460 package 20 error code 0x00140000 message HTTP POST: http://c3653632.mgr.gcsp.cddbp.net:80/gcsp/2.0
[DEBUG] 140082052527872 1436920011.505 package 20 error code 0x00140000 message Hostname Resolve: c3653632.mgr.gcsp.cddbp.net -> 208.72.242.165
[INFO] 140082052527872 1436920011.505 package 20 error code 0x00140000 message Hostname Connect Address Set : [208.72.242.165]
[INFO] 140082052527872 1436920011.530 package 20 error code 0x00140000 message Connected to host: c3653632.mgr.gcsp.cddbp.net(208.72.242.165):80
[DEBUG] 140082052527872 1436920011.530 package 20 error code 0x00140000 message HTTP send hdrs: 356 bytes
[DEBUG] 140082052527872 1436920011.530 package 20 error code 0x00140000 message HTTP send ctnt: 0 bytes
[DEBUG] 140082052527872 1436920011.564 package 20 error code 0x00140000 message HTTP response: 200 OK
[INFO] 140082052527872 1436920011.565 package 20 error code 0x00140000 message HTTP POST: http://c3653632.mgr.gcsp.cddbp.net:80/gcsp/2.0
[DEBUG] 140082052527872 1436920011.565 package 20 error code 0x00140000 message HTTP send hdrs: 490 bytes
[DEBUG] 140082052527872 1436920011.565 package 20 error code 0x00140000 message HTTP send ctnt: 314 bytes
[DEBUG] 140082052527872 1436920011.633 package 20 error code 0x00140000 message HTTP response: 200 OK
[DEBUG] 140082052527872 1436920011.633 package 20 error code 0x00140000 message HTTP recv ctnt: 391 bytes
[ERROR] 140082052527872 1436920011.633 package 128 error code 0x00800000 message User registration response contains non-successful code: 50005
[ERROR] 140082052527872 1436920011.634 package 128 error code 0x00800000 message User registration response contains message: GCSP: Registration error: [50] Please contact your application's support. 
[Gracenote Error 50: Invalid Client Tag ID]
[ERROR] 140082052527872 1436920011.634 package 22 error code 0x90160165 message sdkmgr_impl_lookup_gcsp.c[920] Error 0x90160165 (Invalid Gracenote Client ID)
[ERROR] 140082052527872 1436920011.634 package 22 error code 0x90160165 message sdkmgr_intf_lookup.c[338] Error 0x90160165 (Invalid Gracenote Client ID)
[ERROR] 140082052527872 1436920011.634 package 128 error code 0x90800165 message _sdkmgr_user_register[0] Error 0x90800165 (Invalid Gracenote Client ID)
[ERROR] 140082052527872 1436920011.634 package 128 error code 0x90800165 message gnsdk_manager_user_register[0] Error 0x90800165 (Invalid Gracenote Client ID)
[DEBUG] 140082052527872 1436920011.634 package 128 error code 0x00800000 message gnsdk_manager_error_info
[ERROR] 140082052527872 1436920011.634 Gracenote Error code 2424308069 line 129 api gnsdk_manager_user_register code 0x90800165 desc Invalid Gracenote Client ID
[DEBUG] 140082052527872 1436920011.634 package 129 error code 0x00810000 message gnsdk_musicid_shutdown
[INFO] 140082052527872 1436920011.634 package 129 error code 0x00810000 message MusicID Shutdown
[DEBUG] 140082052527872 1436920011.634 package 128 error code 0x00800000 message gnsdk_manager_shutdown
[INFO] 140082052527872 1436920011.634 package 128 error code 0x00800000 message Manager Shutdown

What am I supposed to supply for the client id tag (3)?  The documentation doesn't clarify what strings I get to choose (eg a reference to a user in my database) versus what the api wants and limits in the string (eg punctuation).

 

Forum Discussions