Aggregate not found exception

What are the reason to get Aggregatenotfound Exception or aggregate not found in event store?

It usually happens when a message cannot be delivered to the correct aggregate.
In most cases, the Aggregate or the message misses the correct information to be linked together,
You should check that your command defines a @TargetAggregateIdentifier on one of the fields, and this field matches with the @AggregateIdentifier defined in your Aggregate.

You can read more on how Axon Framework deliver message in the ref guide

1 Like