CollectionService:GetAllTags() occasionally errors "GetAllTags is not enabled"

I have a bootstrapper that scans all tags in the game on both the client and server. In both environments it’s the first code ran. I use GetAllTags to get this list and occasionally have “GetAllTags is not enabled” logged which then causes problems with my code as it’s not expecting it

It only errors on the client, and is very rare, but consistent

A private message is associated with this bug report

I’m assuming the error occurs because you tried to call the function before the server was able to replicate it. For a quick solution you could use pcalls to make some type of retry thing.

1 Like

Thank you for the report.

Does it error on your client or are the reports coming from some players?
If it’s from specific players, it is likely caused by those players using cheat tools to mess with Roblox flags.

1 Like

It would be specific players, I just get it occasionally logged when looking at the analytics page

As this is the first code that runs, that would mean players have these cheat tools configured on other games, try to play my game, and then can’t play it. It would most likely be in my interest to still let them play the game though

Is there a reason :GetAllTags is behind a flag? I could hardcode these values so I don’t need to make the :GetAllTags call but would like to avoid that because I would need to update it every time I add a tag

We will try to remove that flag as it is no longer required.

1 Like

Is there any update on when this can be expected to go live?