Auto Recache causes Joomla API PATCH/PUT to fail — "Error loading menu: api"

#1
Environment

  • Joomla 5.3.2 (Web Services enabled)
  • LiteSpeed Cache for Joomla plugin
  • LiteSpeed server (Hostinger)

Issue
When Auto Recache is set to Moderate or Aggressive, saving an article via Joomla’s Web Services API fails with:

HTTP/1.1 400 Bad Request
{"title":"Save failed with the following error: Error loading menu: api","code":400}
With Auto Recache set to Disabled, the same request succeeds (200 OK).

Steps to Reproduce

  1. Enable LiteSpeed Cache with Auto Recache = Moderate or Aggressive.
  2. Send an authenticated PATCH to /api/index.php/v1/content/articles/{id}:
Code:
curl -i "https://www.example.com/api/index.php/v1/content/articles/249" \
  -X PATCH \
  -H "Accept: application/vnd.api+json" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <API_TOKEN>" \
  -d '{"title":"Test via API"}'
Result
  • With Auto Recache enabled: 400 Bad Request — Error loading menu: api
  • With Auto Recache disabled: 200 OK
It seems Auto Recache is triggered during API saves and causes the error. If this is a bug, what is the correct way to report it to request a fix?

Best regards
 
Top