It is possible to break a bone in your midfoot or dislocate a joint there so it is possible that you injured it. If you do injure your midfoot, it is important to get it checked because the damage may be more involved than it may appear.
The bones and joints in your midfoot help stabilize your foot and your gait (walking), so they play an important role. So, a doctor may brace or cast an injury like that or may even suggest surgery, if it seems necessary. If your foot is still sore, you should get it checked to see if there is something that can be done