Summary
The sevalla_clear_cache tool returns a 500 Internal Server Error when calling POST /applications/{id}/clear-cache on an application with CDN and edge caching enabled.
Steps to Reproduce
- Call
sevalla_clear_cache with a valid application ID (84em.to: 1cedfe0a-0203-49d9-9f6d-2e949011c556)
- Application has CDN enabled and edge caching enabled (confirmed in Sevalla dashboard)
- API key has sufficient permissions (other endpoints like
list_applications and get_application work fine)
Expected Behavior
Returns {"isSuccess": true} per Sevalla API docs.
Actual Behavior
{
"error": true,
"message": "API error 500: {\"message\":\"Internal Server Error\",\"status\":500,\"data\":{}}"
}
Investigation
Tested the following variations, all return 500:
- With and without
Content-Type: application/json header
- With and without
company query parameter
- With empty JSON body
{} vs no body
- Waited for active deployment to complete before retrying
Conclusion
Likely a Sevalla API-side issue. The 500 response contains no useful error details (data is empty). Consider opening a support ticket with Sevalla.
Environment
- MCP server: mcp-sevalla v1.0.0
- Sevalla API: v2
- Endpoint:
POST https://api.sevalla.com/v2/applications/{id}/clear-cache
Summary
The
sevalla_clear_cachetool returns a 500 Internal Server Error when callingPOST /applications/{id}/clear-cacheon an application with CDN and edge caching enabled.Steps to Reproduce
sevalla_clear_cachewith a valid application ID (84em.to:1cedfe0a-0203-49d9-9f6d-2e949011c556)list_applicationsandget_applicationwork fine)Expected Behavior
Returns
{"isSuccess": true}per Sevalla API docs.Actual Behavior
{ "error": true, "message": "API error 500: {\"message\":\"Internal Server Error\",\"status\":500,\"data\":{}}" }Investigation
Tested the following variations, all return 500:
Content-Type: application/jsonheadercompanyquery parameter{}vs no bodyConclusion
Likely a Sevalla API-side issue. The 500 response contains no useful error details (
datais empty). Consider opening a support ticket with Sevalla.Environment
POST https://api.sevalla.com/v2/applications/{id}/clear-cache