Hi Juan,
I've been keeping an eye on this sort of issue for a while now, and as far as we know, there are no hardware or software restrictions on replacing the battery on an iPhone X. Starting with the XS you will get a warning that the battery may not be genuine. In order to get rid of that warning you have to remove the BMS, or Battery Management System from the old battery and solder/weld it onto a new battery cell.
You might try a full restore of the phone to see if that clears up the error you're seeing; otherwise it's possible the BMS on your replacement battery has failed and you'll need to replace the battery yet one more time. I've used many different brands from eBay, Amazon and AliExpress and have yet to see the kind of issue you're describing on an iPhone X.
Even in the cases where Apple is issuing warnings about batteries, the battery still operates correctly; you just lose the ability to view the battery health information and you have to ignore the stupid pop-up warning that's generated for a week or so.
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
1
crwdns2947414:01crwdne2947414:0
Do you have time original battery? Also, where have you read that Apple is blocking battery replacements? I have a few iPhones with eternal batteries of various qualities and price points and even the latest iOS 16.4.1 shows nothing but a scary warning. Even with cheap non OEM batteries it charges.
crwdns2934271:0crwdnd2934271:0 Duck crwdne2934271:0