Fix for NFS Heat error 40050000
I found a way to fix the error 40050000. It works on PS5, but warning, it might not work for you. If it does, you can play online again.
Basically what I did was to sell almost all of my cars and when I tried to reconnect, the game crashed, but then, when it tried to synchronize the inventory after I relaunched it, it just did it normally. I don't know, I had only 17 cars, but... Eh, if it works, it works. Yes, once you are able to synchronize again, you can buy cars with no issue.
I'm glad it worked!
Hopefully this will help others that might've been going through the same problem we've been...
For anyone reading this, remember to... ALWAYS BACKUP YOUR SAVE BEFORE DOING THIS.
Steps I took: Just sold a lot of cars. (I don't know how many you need to fix it completely, it will depend on each person).
You might need to restart the game after, and it should do the sync.