1 message in com.googlegroups.google-base-data-apierror when inserting to base account
FromSent OnAttachments
kaancho04 Apr 2007 12:43 
Subject:error when inserting to base account
From:kaancho (bib@eharborinc.com)
Date:04/04/2007 12:43:12 PM
List:com.googlegroups.google-base-data-api

Hi,

when I am uploading items to base account I get this error.

[Line 13, Column 10, element entry] Unrecognized element ''."

The error seems to come right after the <g:agent> . I am using the sample xml data provided by google. (http:// base.google.com/base/housing-atom1.xml)

I am not sure how to resolve this error. Thanks

My request is as follows:

POST /base/feeds/items/batch HTTP/1.1

Host: www.google.com

Accept: */*

Content-Type: application/atom+xml

Authorization: GoogleLogin auth="aQDf8O5fqYOdTgfJhJecRRMhH6- slMKDWOsX_i2NwjGGcKJ0jhyT3203dF7x9vkC0lwl"

X-google-key: key=E1NvwkxTaFamJWO-ags1rPPkiq3QYYr7qoA

Content-Length: 1633

Expect: 100-continue

<?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom" xmlns:batch="http:// schemas.google.com/gdata/batch"> <title>The name of your bulk upload.</title> <link rel="self" href="http://www.example.com"/> <updated>2006-06-11T18:30:02Z</updated> <author> <name>author</name> </author> <id>tag:example.com,2006-06-11:/support/products</id> <entry> <title>Room for rent in Mountain View, CA</title> <batch:operation type="insert"> <g:agent>Sue Smith</g:agent>