After confirming the stuff below, i want to know one more thing.

Is there a way to delete an extended property ? I dont think there is a way. 

I am getting the error only while updating an event and not while adding which 
means that either there was an extended property with @value = empty which was 
added during event addition which is not possible since the server doesnt allow 
or the event already had this extended peoprty added from somewhere.

Because i have again double checked my code, there is no way in which i am 
sending an "Empty" @value in Extended property. So that means it is something 
problem on the Google Server side.

Is it possible that if the value is too long say 100 characters then server 
might have declined that ?

Please confirm.


----- Original Message ----
From: Kulvinder Singh <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, May 22, 2007 5:23:55 PM
Subject: Re: 400 Bad Request - New bug


Hi Frank,
 
Thanks for the response.
 
Now, i got the problem. The response from Google Service was somewhat 
misleading.
 
The remote server returned an error : (400) Bad request 
[Line 10, Column 51, element gd:extendedProperty] g:extendedProperty/@value is 
required

I tried to create a Dummy event in Google Calendar with <gd:extendedProperty 
key="123" value=""/>
 
and the server through the same above exception. I dont see anything wrong in 
the above Extended prop. Value can be anything even an Empty string.
 
The confusion which i had earlier was that it seemed that my code was not 
sending the @value attribute. So there is problem in accepting the @value 
attribute value. Empty value should be acceptable. Obviously, 
<gd:extendedProperty key="123" /> is wrong.
 
Its clearly a bug which should be resolved.
 
Thanks for your help again.

----- Original Message ----
From: Frank Mantek <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, May 22, 2007 3:56:55 PM
Subject: Re: 400 Bad Request - New bug

Kulvinder,

I double checked the client side code, and assuming you are setting a value, 
the code should be sending a value. It will not save an empty string (as you 
know), is that the issue?

There is the whole different avenue of the server encountering a problem. 

So for us to help you, we simple need more data. Ideally a snippet of sample to 
repro the issue (if it is on the library side) or the HTTP trace of the 
exchange...

Regards

Frank Mantek
Google


On 5/22/07, Kulvinder Singh <[EMAIL PROTECTED]> wrote: 
Any updates on this ?


----- Original Message ----
From: Kulvinder Singh < [EMAIL PROTECTED]>
To: [email protected] 

Sent: Friday, May 18, 2007 9:26:26 AM
Subject: Re: 400 Bad Request - New bug


I think you guys need to recheck your code. I have again double checked my code 
and there is no condition where my code is sending only "Key" and no "Value" in 
the ExtendedProperty. 


----- Original Message ----
From: Kulvinder Singh < [EMAIL PROTECTED]>
To: [email protected] 
Sent: Wednesday, May 16, 2007 8:45:30 PM
Subject: Re: 400 Bad Request - New bug


Can tell me how do i convert the Google event that had this error to XML ?


----- Original Message ----
From: Frank Mantek < [EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, May 16, 2007 2:27:58 PM 
Subject: Re: 400 Bad Request - New bug

I just checked in code into SVN that helps parsing extendedAttributes (the 
calendar did not add them automatically to the extension elements list, this is 
fixed). But i have not noticed a problem persisting them so far. 

So if there is a sample that reproduces this issue, i would sure like to see it.

I mean, of course, you can probably create a property, set a key, and not set a 
value - that might do that, but i would argue that's a problem in the code 
using it. 

Frank Mantek
Google


On 5/15/07, Lane LiaBraaten (Google) < [EMAIL PROTECTED]> wrote: 

Hi Kulvinder,

The error you are receiving does indicate the the value attribute was 
not present in the request that the server received.  I haven't been
able to recreate this error.  Can you post some sample code or maybe
the XML that is causing the error?

Thanks,
Lane

On May 15, 4:33 am, Kulvinder Singh < [EMAIL PROTECTED]> wrote:
> Any Updates ?
>
> ----- Original Message ---- 
> From: Kulvinder Singh < [EMAIL PROTECTED]>
> To: Google API < [email protected]>
> Sent: Friday, May 11, 2007 8:35:39 PM 
> Subject: 400 Bad Request - New bug
>
> Hi,
>
> While i am updating an event in Google calendar and getting the following 
> error :
>
> The remote server returned an error : (400) Bad request 
> [Line 10, Column 51, element gd:extendedProperty] g:extendedProperty/@value 
> is required
>
> This is the first time i have received this error. Can you tell me why ? It 
> seems that the "value" attribute was not provided. i have double checked my 
> code. It can not happen that the value was not provided while updating the 
> event. 
>
> I am using C# Google Calendar APi 1.0.9.6. Any help is appreciated.
>
> Thanks in advance. 
>
> Be a better Heartthrob. Get better relationship answers from someone who 
> knows. 
> Yahoo! Answers - Check it out.
>
> ____________________________________________________________________________________
> Expecting? Get great news right away with email Auto-Check.
> Try the Yahoo! Mail 
> Beta.http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 




Give spam the boot. Take control with tough spam protection
in the all-new Yahoo! Mail Beta. 

http://mail.yahoo.com 



Need a vacation? Get great deals to amazing places on Yahoo! Travel. 











You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta. 


       
____________________________________________________________________________________You
 snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to