warning error when API is not available at plugin activation