java.lang.IllegalArgumentException: Shard type [region-DEVSYSTEM-48800] must be started first


at akka.cluster.sharding.ClusterSharding.shardRegion(ClusterSharding.scala:512) ~[akka-cluster-sharding_2.11-2.5.13.jar:2.5.13]

The exception is occurring when the server is getting started in akka clustered environment.

answered question

1 Answer


Root Cause

This is happening, cause the ShardRegion actor is trying to process the persistent entity assigned to 48800 (present in the DB) but the persistent entity is not present in the memory.Hence ShardRegion actor is not getting initialized properly. It should be happening at below code.



The persistent entity either should be removed from the DB or should be dealt that it should be present in the memory.

posted this

Have an answer?


Please login first before posting an answer.