There’s usually a “ramp up” period where you get to learn that knowledge. As you get more senior, that period gets longer.
You also have to develop your learning skills. How do you identify existing people with knowledge and be able to learn from them.