17 messages in com.googlegroups.google-base-data-api[Google-Base-API] Re: Adding payment_...
FromSent OnAttachments
jksmith22 Jul 2008 18:00 
jksmith23 Jul 2008 10:42 
Tom Wilson23 Jul 2008 12:39 
jksmith23 Jul 2008 14:43 
jksmith23 Jul 2008 15:39 
Marcos Oliva23 Jul 2008 15:52 
jksmith23 Jul 2008 16:23 
Tom Wilson24 Jul 2008 02:48 
jksmith25 Jul 2008 14:29 
jksmith25 Jul 2008 14:35 
Celebird26 Jul 2008 01:42 
Celebird26 Jul 2008 01:44 
jksmith28 Jul 2008 13:40 
Celebird29 Jul 2008 05:28 
jksmith29 Jul 2008 12:03 
Celebird29 Jul 2008 13:38 
jksmith29 Jul 2008 14:50 
Subject:[Google-Base-API] Re: Adding payment_accepted attribute causes response code 400
From:jksmith (neon@gmail.com)
Date:07/25/2008 02:29:46 PM
List:com.googlegroups.google-base-data-api

Tom-- check out this post: http://groups.google.com/group/Google-Base-data-API/browse_thread/thread/985ef2987c7b2d8a/2b5c13cdf3708fa6 So it seems it's both, depending on how you access Base.

In other news, it appears I celebrated a little prematurely. I'm still encountering the same problem. The good news is I have 700 parts that sync successfully with Base, and that there's only 1 offending part. Again, if I comment out the "payment_added" attribute, the part gets added fine. Add the payment attribute, and I get a 400 error. Here's the values that are getting inserted (in the code above):

[922-6797] Array ( [desc] => Light Pipe, w/Gasket, iMac G5, 17" - 922-6797 [desc_ext] => Compatible with: iMac G5 (17-inch) [17" LCD; 1.6/1.8 GHz G5]; iMac G5 (20-inch) [20" LCD; 1.8 GHz G5] [price] => 14.00 usd [qty] => 3 [condition] => Used [link] =>
http://www.applecomponents.com/items/0000001341/922-6797_light-pipe-w-gasket-imac-g5-17/ [image_url] => http://www.applecomponents.com/media/parts/922-6797.gif ) Error: Expected response code 200, got 400 Body:

Why this one part and no other? Why if I just comment out the payment attribute does it go through fine? It's really bizarre.

On Jul 24, 2:48 am, Tom Wilson <tomt@googlemail.com> wrote:

No problem :P

Strangle though how the data feeds specify a different format I'm assuming both work ? Did you try ?

Tom Wilson Freelance Google Base Developer and Consultantwww.tomthedeveloper.com

Google Base Tools -http://dev.tomthedeveloper.com/googlebase Featured Project
:http://google-code-featured.blogspot.com/2008/02/google-base-competit...

On Jul 24, 12:23 am, jksmith <neon@gmail.com> wrote:

actually, it just was a really stupid error on my part... I have 3 arrays (to_update, to_add, and to_delete).  The additions and updates get trimmed if their count exceeds 25, just because I was having problems with time outs before the php was done executing.  due to some quick copy-paste action, my to_add array was getting replaced with the to_update array, which was causing the error (for whatever reason).  so it was a lot of fuss about nothing, really.  sorry all. I'm just glad I figured it out.

Also, "Google Checkout" (with a space) is the correct value if you access Base through the API.

On Jul 23, 3:52 pm, "Marcos Oliva" <marc@gmail.com> wrote:

what did you do  ?