Where are you running this code from ? phishing-warning-site.com - Is this your website ?
Tom Wilson Freelance Google Base Developer and Consultant www.tomthedeveloper.com Google Base Tools - http://dev.tomthedeveloper.com/googlebase Featured Project : http://google-code-featured.blogspot.com/2008/02/google-base-competitor-analysis.html On Jan 15, 6:46 pm, danigoldman <[email protected]> wrote: > When i try to update any of my GoogleBase items, I get an 'Access > Denied' error. > > Here's is a snippet of the relevant Java code: > > //Start the service > GoogleBaseService service = new GoogleBaseService("Ravant.com"); > service.setUserCredentials("[email protected]", "password"); > > //Create a GoogleBaseEntry object > GoogleBaseEntry entry = toEntry(...); > > //Insert the entry > GoogleBaseEntry insertedListing = service.insert > (FeedURLFactory.getDefault().getItemsFeedURL(), entry); > > //Get the id > URL entryId = new URL(insertedListing.getId()); > > //Now delete the entry (THIS DOESN'T WORK) > service.delete(entryId); > > When I run the above code, I get the the following error: > "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; > charset=iso-8859-1"> > <TITLE>ERROR: The requested URL could not be retrieved</TITLE> > <STYLE type="text/css"><!--BODY{background-color:#ffffff;font- > family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE> > </HEAD><BODY> > <H1>ERROR</H1> > <H2>The requested URL could not be retrieved</H2> > <HR noshade size="1px"> > <P> > While trying to retrieve the URL: > <A HREF="http://www.google.com/base/feeds/items/ > 5277481622409472667">http://www.google.com/base/feeds/items/ > 5277481622409472667</A> > <P> > The following error was encountered: > <UL> > <LI> > <STRONG> > Access Denied. > </STRONG> > <P> > Access control configuration prevents your request from > being allowed at this time. Please contact your service provider if > you feel this is incorrect. > </UL> > <P>Your cache administrator is <A HREF="mailto:root">root</A>. > > phishing-warning-site.com > <BR clear="all"> > <HR noshade size="1px"> > <ADDRESS> > Generated Thu, 15 Jan 2009 17:57:35 GMT by phishing-warning- > site.com .... > </ADDRESS> > </BODY></HTML>" > > Any ideas? I've been trying all different possibilities over the past > 2 days. > > Thanks, > Daniel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Base Data API" 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/Google-Base-data-API?hl=en -~----------~----~----~----~------~----~------~--~---
