Also the reposestring says:
"<HTML>\n<HEAD>\n<TITLE>Unknown authorization header</TITLE>\n</HEAD>\n<BODY
BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\">\n<H1>Unknown authorization
header</H1>\n<H2>Error 401</H2>\n</BODY>\n</HTML>\n"
I don't know what this - clientlogin was already authenticated.
On Wed, Feb 10, 2010 at 9:37 PM, Viswanatha Rao <[email protected]> wrote:

>  On Wed, Feb 10, 2010 at 5:02 PM, gilad <[email protected]> wrote:
>
>> you need to query the /profile/list to get the profileId
>> see
>> http://code.google.com/apis/health/docs/2.0/reference.html#ClientLoginProfileListFeed
>>
>> hopes that help
>>
>> Hi Gilad
>>
>
>
>> I tried it:
>>
> https://www.google.com/health/feeds/profile/list
> I also tried https://www.google.com/h9/feeds/profile/list
>
>
>> I get another exception:
>>
>  Google.GData.Client.GDataRequestException: Execution of request failed:
> https://
> www.google.com/health/feeds/profile/list ---> System.Net.WebException: The
> remote server returned an error: (401) Unauthorized.
>    at System.Net.HttpWebRequest.GetResponse()
>    at Google.GData.Client.GDataRequest.Execute()
>    --- End of inner exception stack trace ---
>    at Google.GData.Client.GDataRequest.Execute()
>    at Google.GData.Client.GDataGAuthRequest.Execute(Int32 retryCounter)
>    at Google.GData.Client.GDataGAuthRequest.Execute()
>    at Google.GData.Client.Service.Query(Uri queryUri, DateTime
> ifModifiedSince,String etag, Int64& contentLength)
>    at Google.GData.Client.Service.Query(Uri queryUri, DateTime
> ifModifiedSince)
>    at Google.GData.Client.Service.Query(FeedQuery feedQuery)
>    at Google.GData.Health.HealthService.Query(HealthQuery feedQuery)
>    at ConsoleApplication3.Program.Main(String[] args) in
> C:\Inetpub\wwwroot\ConsoleApplication3\ConsoleApplication3\Program.cs:line
> 163
>



-- 
Best Regards

-- 
You received this message because you are subscribed to the Google Groups 
"Google Health Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/googlehealthdevelopers?hl=en.

Reply via email to