Provide error messages when credentials are missing or erroneous