Added informative error handling when connector environment not setup correctly