If you're ok with it, could you elaborate? Did you overreach technically, or did things come to a head with your management or teammates?
I really don't know of a way to learn that lesson other than the Hard Way. I definitely remember coworkers pushing back on my ideas and writing them off as boring and unambitious. Fortunately they had seniority over me, so most of my harebrained schemes never saw the light of day.