The lens has an Iris which is controlled by a motor. If the connection to it is broken you will get a lens error. You can also get the error is the camera has gotten wet.
open