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.