Handle error messages when API key is wrong