Angry Photographer: Getting the "fEE" error message out of your new lens

The FEE error indicates that the camera cannot control the full range of the lens aperture. If your lens has a mechanical aperture ring, rotate the aperture to its smallest opening, or highest f-number - normally marked in orange. Select this aperture and lock it using the aperture locking switch to prevent this message from appearing again.

https://support.nikonusa.com/app/answers/detail/a_id/2605/~/what-does-the-fee-or-f---error-message-displayed-on-an-slr-camera-mean%3F