Hi there!
I have an Xperia XZ3 that I have already for 5 years and all of the sudden the main camera decided not to work. I open it and it says that an error occurred and told me to reinitialize the app or the phone.
I tried to reinitialize just the app, cleared cache, forced stop, deactivated...