Help Server error occurred. Restart Camera.


When I'm using the stock camera app, I often get the error "Server error occurred. Restart Camera."

I then have to close the camera app, and restart it. It's a hassle that often results in missing shots.

I have tried clearing the data and cache for the camera app. I have also updated the stock ROM to the latest Nougat version available.

What is causing this, and what is the solution?