@texenthusiast You can't use fragile commands in a
moving argument. Technically
\gls
isn't fragile (at least not in later versions of the package), but if you put it in a caption, that glossary entry will be "used" in the list of figures/tables and will cause a location to be added to the glossary for the list of page, which isn't appropriate. Using
\glsentrytext
just uses the entry's text without adding a location.