No...i figured out that when I was doing 
$entry->removeGbaseAttribute('shipping_price')...that was the wrong way 

it needs to be done on the elements that are returned from 
$updatedEntry->getGbaseAttribute('shipping_price'). 

I am still not sure though however if when i do 
$updatedEntry->addGbaseAttribute('shipping.price') is the correct way of 
setting that value. 


----- Original Message ----- 
From: "Alex" <[email protected]> 
To: [email protected] 
Sent: Monday, July 20, 2009 10:12:54 AM 
Subject: [Google-Base-API] Re: Error Trying to update feed 

Do you submit shipping information? 
>From the error message, it seems you submit the 
shipping.price twice with the same value. E.g. 
<shipping> 
<price>10 usd</price> 
<price>10 usd</price> 
</shipping> 


Alex 

On Mon, Jul 20, 2009 at 6:55 AM, Donald < [email protected] > wrote: 



I am getting the following error when trying to update my feed: 

<errors> 
<error type="data" field="shipping price" reason="This attribute is 
the duplicate of another attribute." /> 
<error type="data" field="shipping price" reason="This attribute has 
too many values." /> 
</errors> 

Now I have tried the following on the entry: 

$entry->removeGbaseAttribute('shipping.price') 
$entry->removeGbaseAttribute('shipping_price') 
$entry->removeGbaseAttribute('shipping price') 

And none of those seem to be working. I just keep getting the same 
issue. 




-- 
Alex Dovlecel, Google Switzerland GmbH 
Company Identifikationsnummer: CH-020.4.028.116-1 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Base Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Base-data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to