Handle an invalid API key