2 messages in com.googlegroups.google-base-data-apiNothing seems to work for me, not eve...
FromSent OnAttachments
ch....@lomodo.co.uk09 Nov 2006 03:08 
Stephane Zermatten10 Nov 2006 02:45 
Subject:Nothing seems to work for me, not even the examples.
From:ch....@lomodo.co.uk (ch.@lomodo.co.uk)
Date:11/09/2006 03:08:58 AM
List:com.googlegroups.google-base-data-api

I am new to the Google API, but have good experience of other APIs, but for the life of me, can't get this to work. As a starter, I pulled some snippets of code that use the c# client to connect. Within this, I am specifying the username, password and key. When I attempt to query the service, I just get an error;

TraceCall: creating target Uri 10:53:17:0982 - Service.Query - Feed - Enter TraceCall: creating target Uri Service:Query - about to query 10:53:17:0982 - Service.Query - Stream - Enter TraceCall: GoogleAuth: Execution called Network credentials found QueryAuthtoken failed ProtocolError Got into exception handling for base.execute need to reauthenticate, got a forbidden back set token called with: Network credentials found QueryAuthtoken failed ProtocolError An unhandled exception of type 'Google.GData.Client.GDataRequestException' occurred in gdata.dll

I am not really sure what this means, but I assume it has something to do with the authentication. I stumbled upon the sample code, written in vb.net and tried this. I get a similiar message from that. I have checked the key that i am using and all appears to be okay. An example of _my_ code is;

GBaseService service = new GBaseService("App", ConfigurationSettings.AppSettings["google_developer_key"]);

service.setUserCredentials(ConfigurationSettings.AppSettings["google_username"], ConfigurationSettings.AppSettings["google_password"]);

GBaseFeed feed = service.Query(new GBaseQuery("http://base.google.com/base/feeds/items"));

At this point it falls over. Any pointers as to where to look would be appreciated.

Thanks