error: shard_index must be between 1 and shard_total
