The render is outside the viewport

Hi, I have a strange problem. I set up the cameras in the scene, but the rendering will not be the same as what you see on the viewport. Sometimes the angle of view slips a little, sometimes a lot. I've attached some pictures, especially the first one, you can really see that the camera seems to be in a completely different position. What can cause this?


01 viewport error.jpg
1920 x 1080 - 449K


01 render error.jpg
1920 x 1080 - 172K


02 viewport error.jpg
1920 x 1080 - 243K


02 render error.jpg
1920 x 1080 - 99K
Comments
looks like you have settings set on the camers lens in the camera settings.