On the other hand, I see a lot of people with minimal tech skills, self proclaimed "business translator" types, talking about how important soft skills are. Being all talk is no good either. Personally I think hard skills come first, and then when you understand something well, talk to as many people as you can to figure out how you might be able to help them.
I know that's not a fun answer for a lot of people but at least the goal is clear.
So get better at interviewing.
If you're already focused on coding, the next piece is systems design.
The more senior the job, the more likely part of the interview process is moving boxes and arrows around to design a scalable, reliable system.
This book is a great place to start: https://www.amazon.com/System-Design-Interview-Insiders-Guid...
You can't let the hard skills rot either, they're kind of just table stakes at that point though.