Hey guys,

I've hit a snag here in implementing Google Base. I am wondering if anyone encountered my situation; also checking if my assumptions are correct.

I am constantly getting the error message from google of : Bad Request - Customer Not Found


POST /base/feeds/items/batch HTTP/1.0
Host: www.google.com
User-Agent: Drupal (+http://drupal.org/)
Content-Length: 2329
Content-Type: application/atom+xml
Authorization: AuthSub token="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
X-Google-Key: key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0" xmlns:app="http://purl.org/atom/app#" xmlns:batch="http://schemas.google.com/gdata/batch"><entry><batch:id>4717</batch:id><batch:operation type="insert"/><g:id>47a6797dc627/node/4717</g:id><title type="text">IBM System Storage N3600 Model A20 - NAS server</title><g:link type="url">http://www.elarasys.com/ibm-system-storage-n3600-model-a20-nas-server</g:link><content type="text">The IBM System Storage N3600 storage controller includes the Model A20, an active/active dual-node base unit. It is designed to provide fast data access, simultaneous multiprotocol support, expandability, upgradability, and low maintenance requirements.</content><g:item_type type="text">Product</g:item_type><g:lead_in type="text">IBM System Storage N3600 Model A20 - NAS - rack-mountable - Serial Attached SCSI - RAID 4, 6, DP - Gigabit Ethernet / 4Gb Fibre Channel - 4U</g:lead_in><g:model_number type="text">2862-A20</g:model_number><g:remote_cnet_link type="url">http://cdn.cnetcontent.com/0f/82/0f823f9a-06a7-4329-b5fa-cfa26e547489.jpg</g:remote_cnet_link><g:weight type="text">71.9 lbs</g:weight><g:processor type="text">2 x Intel Celeron M 2.2 GHz</g:processor><g:power type="text">AC 120/230 V ( 50/60 Hz )</g:power><g:power_redundancy type="text">Yes</g:power_redundancy><g:product_description type="text">IBM System Storage N3600 Model A20 - NAS server</g:product_description><g:networking type="text">Network adapter - integrated - Ethernet, Fast Ethernet, Gigabit Ethernet, 4Gb Fibre Channel</g:networking><g:storage_controller type="text">RAID - Serial Attached SCSI - RAID 4, 6, DP</g:storage_controller><g:storage_operating_system type="text">Data ONTAP</g:storage_operating_system><g:device_type type="text">NAS server</g:device_type><g:dimensions_wxdxh type="text">17.6 in x 22.9 in x 6.9 in</g:dimensions_wxdxh><g:host_connectivity type="text">Gigabit Ethernet / 4Gb Fibre Channel</g:host_connectivity><g:installed_devices_modules_ type="text">0 (installed) / 20 (max)</g:installed_devices_modules_><g:manufacturer_warranty type="text">3 years warranty</g:manufacturer_warranty><g:enclosure_type type="text">Rack-mountable - 4U</g:enclosure_type><g:hard_drive type="text">None.</g:hard_drive></entry></feed>
";s:4:"data";s:913:"<?xml version='1.0' encoding='UTF-8'?><atom:feed xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gm='http://base.google.com/ns-metadata/1.0' xmlns:g='http://base.google.com/ns/1.0' xmlns:batch='http://schemas.google.com/gdata/batch'><atom:id>http://www.google.com/base/feeds/items/batch/1297381448525</atom:id><atom:updated>2011-02-10T23:44:08.552Z</atom:updated><atom:title type='text'>Batch Feed</atom:title><atom:entry><atom:id>4717</atom:id><atom:updated>2011-02-10T23:44:08.552Z</atom:updated><atom:title type='text'>Error</atom:title><atom:content type='text'>Bad request</atom:content><batch:id>4717</batch:id>

<batch:status code='404' reason='Bad request' content-type='application/xml'>&lt;errors&gt;
&lt;error type="request" reason="Customer not found"/&gt;
&lt;/errors&gt;

</batch:status><batch:operation type='insert'/></atom:entry></atom:feed>

Comments

chriscalip’s picture

Here's what I think when I was trying to test out googlebase I initially had some screwy data on it. I think google red flagged my account now and now I think I am passing the right data now but since google had it initially red flagged the application are now all rejected.
(I got this idea because of http://groups.google.com/group/google-base-data-api/browse_thread/thread... )

How do I get passed this red flag? Google customer services seems to be giving me the run around of:

Thank you for your interest in the Google Base Data API. We cannot provide
personal responses to email at this time, but we'd like to point you to
some other resources that are available.

Documentation and sample code are available at:

http://code.google.com/apis/base/

Our developer discussion forum is available at:

http://groups.google.com/group/Google-Base-data-API

This discussion forum is actively monitored by Google. We encourage you to
post your question to that forum, and join with other Google Base data API
users in sharing your thoughts and expertise.

Thanks again for your feedback and for using the Google Base Data API.

How do we make a sandbox account just for testing purposes?

chriscalip’s picture

I apologize in advance I normally am the one helping with patches and answering people's questions. It's just that this vague error message of Bad Request - Customer Not Found is such a dead end in debugging for errors.