Chosen Solution

I have this bag, and the zip came off I tried to find the end but but the hole is too small to reach properly so that I can re-attach it properly

If you can’t get to it you can’t fix it. I would carefully snip the stitching to be able to gain access so that after you repair it you can sew it back up.