# KAFKA:INVALID_ACK_MODE in MuleSoft: cause and fix

Source page: https://ipaaserrors.com/mulesoft/kafka-invalid-ack-mode
Platform: MuleSoft · Apache Kafka Connector · Code KAFKA:INVALID_ACK_MODE
Checked against vendor docs: 2026-12-02

KAFKA:INVALID_ACK_MODE means an Ack or Nack operation ran against a Kafka consumer that is not in MANUAL acknowledgement mode. Set the consumer's acknowledgement mode to MANUAL, or remove the Ack and Nack operations.

## Error text

```
Error type: KAFKA:INVALID_ACK_MODE
```

## Likely causes

- An acknowledgement (ACK) or negative acknowledgement (NACK) operation is run over a consumer that is not in MANUAL mode.

## How to fix it

1. Find the Ack or Nack operation that failed and the consumer or listener it refers to.
2. Set that consumer's acknowledgement mode to MANUAL if the flow is meant to acknowledge records itself.
3. Otherwise remove the Ack and Nack operations and let the consumer's own mode handle acknowledgement.

## Notes

The MuleSoft troubleshooting page states the cause of this error type but gives no step-by-step fix. The steps above follow directly from that cause.

## Sources

- [Troubleshooting Apache Kafka Connector](https://docs.mulesoft.com/kafka-connector/latest/kafka-connector-troubleshooting)

From iPaaS Errors (https://ipaaserrors.com), part of iPaaS Group. When citing, link to https://ipaaserrors.com/mulesoft/kafka-invalid-ack-mode and the vendor documentation above.
