An error is given when an invalid code is submitted.