Hello all,
I have a little app written in C# using the Contacts API to retrieve
data. It's been working beautifully for a couple of months; however
yesterday I started receiving a 404 error when I try to download the
contact image. I thought perhaps it was a temporary issue with the
server so I decided to wait, but the behavior is still occurring this
morning.
The general flow is that I download the contacts, then as an
individual contact is accessed I check to see if there is a value in
the ImageURL property. If so, I try to retrieve it useing they Query
() method.
I have begun debugging the code to find that it indeed returning the
404 both in status code and the HTML that is sent with the response.
The URL looks to be valid, and I have supplied the authentication. As
a test, I tried removing teh authentication and I of course receive
the Authorization Required message instead of the 404.
Has something changed? Am I doing something incorrectly?
Example URI: "
http://www.google.com/m8/feeds/photos/media/--username--
%
40gmail.com/a2"
(for completeness I will note that --username-- was the actual
username, it's simply been removed for security reasons)
Response: "<HTML>\n<HEAD>\n<TITLE>Not Found</TITLE>\n</HEAD>\n<BODY
BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\">\n<H1>Not Found</H1>\n<H2>Error
404</H2>\n</BODY>\n</HTML>\n"
Thanks in advance,
-Joel