Forum/Help & Support

Unable to get expected result using Java API

support
posted this on December 17, 2009 04:37

Unable to get expected result using Java API
 

Comments

User photo
support
Handset Detection
I tried to run some samples in API kit for java. Unable to get expected result. Below is the response , //////////////// {\"user-agent\":\"Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95/12.0.013; Profile/MIDP-2.0 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413\",\"ipaddress\":\"127.0.0.1\",\"request_uri\":\"http://localhost:8080/HDWebApps/dd\"} Normal request detected {\"message\":\"APIv2 Error : Unmatched digest\",\"status\":201} ///////////// Unable to locate where I am going wrong.
December 17, 2009 04:37
User photo
support
Handset Detection
Hi Tricast, Thanks for your post, I checked the issue and found demo\'s v2 apikey was gone on handsetdetection.com . Now I generated a new one :46ba6f9d0f868f2015417bc0bcff0864 , if you could replace the sample codes with it, that would be great and it should be working. In testing purpose, the demo account is open for all our customers, so you also could login and generate a new one, then update your sample codes with it. Cheers, Bill bill@handsetdetection.com
December 17, 2009 15:01
User photo
support
Handset Detection
Thanks Bill, I was as well using v2Key instead of secret. It work for me now.
December 17, 2009 21:56