Bad taste of chocolate flavour

is there a way we can identify the batch?

I had that issue with some bags of my last order… some other bags did not have that weird taste… is there a way to know the bad batch looking at the bag?