2 messages in com.googlegroups.google-base-data-apiRe: Unable to insert items using dry-run
FromSent OnAttachments
Chandrasekar Sivaraman20 Dec 2007 09:35 
Jeff S20 Dec 2007 16:37 
Subject:Re: Unable to insert items using dry-run
From:Jeff S (j.@google.com)
Date:12/20/2007 04:37:24 PM
List:com.googlegroups.google-base-data-api

Hello Chandrasekar,

Apologies, the dry-run flag has been temporarily disabled on the server. Your code is just fine, the problem is on our end :)

Thank you,

Jeff

On Dec 20, 9:35 am, Chandrasekar Sivaraman <mula@gmail.com> wrote:

I am not able to insert test items into google base using dry-run. Though, I am able to post items into googlebase for real without using the dry-run parameter.

I am using the below code: // Set authentication properties GBaseService gBaseService = GoogleBaseListingManager.GetApiContext(); // Get the item properties GBaseEntry gBaseEntry = googleBaseItemType.GBaseEntry;

Uri itemsFeedUri=new Uri(GBaseUriFactory.Default.ItemsFeedBatchUri.toString() + "?dry-run=true");

// Do the test-insert operation using dry-run parameter in the query. This is where it fails GBaseEntry insertEntry = gBaseService.Insert( itemsFeedUri, gBaseEntry );

On executing this code, I get the following error response from googlebase: Invalide Query Paramters: dry-run

can somebody please point me out what I am doing wrong here.

Thanks.