Unable to delete Team Calendar events or the entire calendar

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

Trying to delete an event or the entire calendar is not possible. No errors are shown in the UI nor in the atlassian-confluence.log file. Inspecting the browser requests on the Network tab of the developer tools, this can be spotted:

1 2 3 4 5 6 7 8 9 302 1113 674 [HTML][REDIRECT][RESP W][CACHE ??] 46 ms ‡ DELETE https://domain/rest/calendar-services/1.0/calendar/events.json ... Full response: 302 Moved Temporarily HTTP/1.1 ... Post data parameters: messageKeyMESSAGE_KEY_TIMEZONE_SETUP

Right after that request, this can be spotted:

1 2 3 400 1454 1674 [HTML][REQ W][ERROR][CACHE ??] 45 ms ‡ DELETE https://domain/eailrr/eai.aspx

Inspecting the contents of the response, we can see it is from ISAM WebSeal:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <!-- Copyright (C) 2000 Tivoli Systems, Inc. --> <!-- Copyright (C) 1999 IBM Corporation --> <!-- Copyright (C) 1998 Dascom, Inc. --> <!-- All Rights Reserved. --> <!-- This is a WebSEAL error message template file. It is used by the WebSEAL server to build a response when a particular error occurs. This file can be modified as appropriate. Error details: * Code: 0x38cf0424 * Text: Bad Request ...

Diagnosis

Environment

Diagnostic Steps

To confirm that WebSeal is the cause, proceed with the following bypass test:

  1. Add the following connector to server.xml (port 8092 must be free and accessible externally):

    1 2 3 4 <Connector port="8092" connectionTimeout="20000" redirectPort="8443" maxThreads="48" minSpareThreads="10" enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8" protocol="org.apache.coyote.http11.Http11NioProtocol" />
  2. Change the server base URL to http://<server-IP>:8092

  3. Restart Confluence

  4. Access it through http://<server-IP>:8092

If you are able to delete events while bypassing WebSeal, proceed with the resolution below.

Cause and Resolution

By default, WebSeal blocks DELETE HTTP requests that contain a body. Since deleting an event or a calendar triggers this exact type of request, it will be blocked by WebSeal and never reach the application.

The following document describes this setting and how to allow those types of requests:

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.