Why are there at least THREE different types of standard air hose fittings?
https://toolguyd.com/quick-guide-to-air-line-couplers-plugs/
And then...as a newbie mechanic..let's not even get started on industry stupidity At least 10mm is guaranteed missing.
Take the hose into a box store.
They should have the parts.