Representation of Space and the Error in Judgement

If light be not given to the senses, we cannot represent to ourselves darkness, and if extended objects are not perceived, we cannot represent space. Neither the negation, nor the mere form of intuition can, without something real, be an object.

[…]

For truth or illusory appearance does not reside in the object, in so far as it is intuited, but in the judgement upon the object, in so far as it is thought. It is therefore quiet correct to say that the senses do not err, not because they always judge correctly, but because they do not judge at all. Hence truth and error, consequently also, illusory appearance as the cause of error, are only to be found in a judgement, that is, in the relation of an object to our understanding.Kant, Immanuel (1781) Critique of Pure Reason