Fix for if user can't connect to API.