I find where the error lies. I made a mistake when constructing the JSON-C data.
On May 30, 3:14 pm, Satish Bellapu <[email protected]> wrote: > Hi Kevin, > > Normally 500 error will come when there is a crash of your services, please > check whether your code is running or not ? > > Hope this may help, > > -- > Regards, > Satish Bellapu > > > > > > > > On Sat, May 28, 2011 at 8:44 PM, Kevin <[email protected]> wrote: > > I tested my code which I used to create events with Calendar API > > early today, when it could run well. But I kept got 500 error about 2 > > hours ago. The first POST to get the gsessionid run well, while the > > second POST with gsessionid got 500 error. > > > This is the response returned. > > > HTTP/1.1 500 Internal Server Error > > > Content-Type: application/json; charset=UTF-8 > > > Date: Sat, 28 May 2011 15:02:39 GMT > > > Expires: Sat, 28 May 2011 15:02:39 GMT > > > Cache-Control: private, max-age=0 > > > X-Content-Type-Options: nosniff > > > X-Frame-Options: SAMEORIGIN > > > X-XSS-Protection: 1; mode=block > > > Server: GSE > > > Transfer-Encoding: chunked > > > {"error":{"code":500,"message":"Internal Error","errors": > > [{"domain":"GData","code":"ServiceException","internalReason":"Internal > > Error"}]}} > > > Where is the problem? My code or the server? > > Thanks.. > > > -- > > 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://code.google.com/apis/calendar/community/forum.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://code.google.com/apis/calendar/community/forum.html
