If I cancel subscription then subscribe again, it shows an error message

About stripe payment, if I cancel the subscription then subscribe again, it will show an error message:

Customer XYZ does not have a subscription with ID XYZ and even if I change test credit card I still can not subscribe again.