My experience with corys is they are a set-and-forget species but like some others noted, it's easy to underfeed them in a community setting, I have to strategize to get food down to them regularly.
Also, I wanted to generalize about all fish: it might not be you, your aquarium, or even the species, but a problem with the batch of fish. A difficult transition or hard sloshing in the car ride home, or compromised immune systems can be just sitting there lurking from before you even got them in a bag, in a whole batch of fish, and they'll slowly disappear. It happened to me with one batch of rainbow fish, whereas the same type of rainbows from other sources ALWAYS thrive in my tank now.