4 messages in com.googlegroups.google-base-data-apic# "No developer key specified" 403, ...
FromSent OnAttachments
br....@earthware.co.uk08 Nov 2006 12:32 
Shuki08 Nov 2006 13:56 
j....@google.com08 Nov 2006 15:01 
j....@google.com08 Nov 2006 15:23 
Subject:c# "No developer key specified" 403, using application
From:br....@earthware.co.uk (br.@earthware.co.uk)
Date:11/08/2006 12:32:46 PM
List:com.googlegroups.google-base-data-api

Hello

I have a c# 2.0 application (not web) that used to work fine getting snippets from Google Base using the c# libraries.

However now I get the dreaded "No developer key specified"

The code has not changed, ive tried a new develper key by creating a new account and its the same. I also tried updating the c# libraries to the latest release, still no joy.

If I try the query in IE and add my key like this:

http://www.google.com/base/feeds/snippets/-/housing?max-results=200&bq=[location:%20%22sg1%22]&key=MYKEY

It works fine.

Here is the code:

================================ GBaseUriFactory uriFactory = GBaseUriFactory.Default; GBaseService service; service = new GBaseService(cstr_applicationName, cstr_developerKey);

GBaseQuery query = new GBaseQuery(uriFactory.SnippetsFeedUri + "/-/housing"); query.GoogleBaseQuery = "[location: \"" + vstrLocationQuery + "\"]"; query.NumberToRetrieve = cint_maxResults;

GBaseFeed result = service.Query(query); ================================

As I said this code has not changed.

Anyone any ideas?