Bug: Google Calendar, can't upload events, HTTP 400
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2024-09-16 11:30:30+00:00
Resolved: 2024-09-16 12:35:14+00:00

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0

Steps to reproduce:

Add an event to a Google Calendar calendar.
Synchronize


Actual results:

The event will not show up on an Android device connected to the same account.
Events added on the Android device are synced to TB.

The Error Console contains the following messages (one such set per one event, per synchronization) :
Calendar: [calGoogleCalendar] Adding Item [EVENT TITLE] failed:2147746065: A request Error Occurred. Status Code: 400  Body: {
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "badRequest",
    "message": "Bad Request"
   }
  ],
  "code": 400,
  "message": "Bad Request"
 }
}
gdataCalendar.jsm:469:11
    adoptItem resource://gdata-provider/legacy/modules/gdataCalendar.jsm:469
    addItem resource://gdata-provider/legacy/modules/gdataCalendar.jsm:383
    uncachedOp resource:///modules/CalCachedCalendar.sys.mjs:467
    popItemQueue resource:///modules/CalCachedCalendar.sys.mjs:500
    popItemQueue resource:///modules/CalCachedCalendar.sys.mjs:534
    playbackOfflineItems resource:///modules/CalCachedCalendar.sys.mjs:559
    refresh resource:///modules/CalCachedCalendar.sys.mjs:615
    refresh resource:///modules/CalCompositeCalendar.sys.mjs:295
    doCommand chrome://calendar/content/calendar-command-controller.js:373
    goDoCommand chrome://messenger/content/globalOverlay.js:99
    onclick chrome://messenger/content/messenger.xhtml:1

Calendar: [calCachedCalendar] Could not perform playback operation add for item [EVENT TITLE]: [Exception... "A request Error Occurred. Status Code: 400  Body: {
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "badRequest",
    "message": "Bad Request"
   }
  ],
  "code": 400,
  "message": "Bad Request"
 }
}
"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: resource://gdata-provider/legacy/modules/gdataRequest.jsm :: fail :: line 250"  data: no] CalCachedCalendar.sys.mjs:503:15
    popItemQueue resource:///modules/CalCachedCalendar.sys.mjs:503
    popItemQueue resource:///modules/CalCachedCalendar.sys.mjs:534
    playbackOfflineItems resource:///modules/CalCachedCalendar.sys.mjs:559
    refresh resource:///modules/CalCachedCalendar.sys.mjs:615
    refresh resource:///modules/CalCompositeCalendar.sys.mjs:295
    doCommand chrome://calendar/content/calendar-command-controller.js:373
    goDoCommand chrome://messenger/content/globalOverlay.js:99
    onclick chrome://messenger/content/messenger.xhtml:1

Calendar: [calCachedCalendar] Unable to perform playback action add to the server, will try again next time (C949-F1E8-5237-8496213556AC,[Exception... "A request Error Occurred. Status Code: 400  Body: {
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "badRequest",
    "message": "Bad Request"
   }
  ],
  "code": 400,
  "message": "Bad Request"
 }
}
"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: resource://gdata-provider/legacy/modules/gdataRequest.jsm :: fail :: line 250"  data: no]) CalCachedCalendar.sys.mjs:522:15



Expected results:

The sync working both ways.