"The IV must be the same for a particular encryption/decryption."
This means that when you're encrypting data, you need to use the same Initialization Vector (IV) for both encryption and decryption. If you generate a new IV for decryption, it won't work.
To fix the issue, you can store the IV with the encrypted data and reuse it during decryption.