Offline access error

Apr 14, 2014 at 10:46 AM
Hi All,

I'm trying to connect my WEB application to HealthVault but I have the following error:

HVAccessDeniedException: The signature of the request could not be validated. The public key for the application could not be found.

These are followed steps:

1.- Create web app.
2.- Create keystore and cert.
3.- Create HealthVault app (appid + offline rules + Public cert)
4.- Set keystore properties (keyname + password + keyfile)

In my WEB application I'm trying to get offlineUserID and RecordId, but ConnectionFactory.connection(); always responses an error.

What am I doing wrong?

Thanks in advance,
Coordinator
Apr 21, 2014 at 5:17 PM
Hi,

Have you created your own application and uploaded your public key to HV through config.healthvault-ppe.com?

Thanks,
Rob
Apr 28, 2014 at 8:05 AM
Hi Robmay,

Yes, I created my public key and uploaded in Health Vault platform. Now, I can get the identityCode, but I don't know how to get personId and recordId in order to make a 'GetThings' query. I suposse that after getting identityCode my webapp must redirect to 'https://account.healthvault-ppe.co.uk/patientconnect.aspx' page. My web app consists of a simple Servlet and I want to get parameters without user's interaction.

Thanks in advance