Fail gracefully if API is not available