2 messages in com.googlegroups.google-base-data-apiUnable to insert items using dry-run
FromSent OnAttachments
Chandrasekar Sivaraman20 Dec 2007 09:35 
Jeff S20 Dec 2007 16:37 
Subject:Unable to insert items using dry-run
From:Chandrasekar Sivaraman (mula@gmail.com)
Date:12/20/2007 09:35:28 AM
List:com.googlegroups.google-base-data-api

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.