Manual compaction fails

I installed Druid on my computer’s Docker environment with docker-compose.
I created a sample data for myself and created 4 hourly segments.
When I call the manual trigger using the Druid’s API it fails. When it turns on auto-trigger, I see it is successful in task details.
What is the reason of this?

My manual compaction API call:

curl --location --request POST 'http://localhost:8081/druid/indexer/v1/task' \
--header 'Content-Type: application/json' \
--data-raw '{
  "type" : "compact",
  "dataSource" : "sertac_data",
  "ioConfig" : {
    "type": "compact",
    "inputSpec": {
      "type": "interval",
      "interval": "2006-06-01/2006-08-01"
  "granularitySpec": {
  "tuningConfig" : {
    "type" : "index_parallel",
    "maxRowsPerSegment" : 5000000,
    "maxRowsInMemory" : 25000

Thanks for your help and answers!

Relates to Apache Druid 0.22.1

Is your manual compaction task trying to compact a period that is being ingested?

Did you look at the logs of the failed compactions? (Click the magnifying glass on the right.)