Are download codes always guaranteed?

Not always. Older pressings sometimes include expired codes, and occasionally labels stop maintaining the download service. Because these are handled by the label, they are considered a bonus rather than a guaranteed feature of the product.