I get the same error after flashing lastest xiaomi firmware. I think they changed my mobile company APN, and used one with old values.I don't know if this happens to someone else, but mobile data in Spark isn't working very well. It connects fine to LTE/5G, but when you access apps/websites it's like there's no connection (as well as the disabled data icon is active on the statusbar). It seems it's like a DNS problem or something, because when using a VPN connection or sharing internet to my PC everything is working fine. This hasn't happened to me before with other ROMs.
/* Your warranty is now void. * * I am not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some research if you have any concerns about features included in this ROM * before flashing it! YOU are choosing to make these modifications, and if * you point the finger at me for messing up your device, I will laugh at you. */