Currently working on a overhead tags system for a group I develop for, due to the delay of up-to-date group information with :GetRoleInGroup() and :GetRankInGroup() on both the server and client I have started using the Group Service which has the most up-to-date information on both. I was testing this in a game with about 30 people, each calling the group service every 5 seconds (yes I forgot to change this to something more appropriate as I was testing alone earlier). On the 30 player tests there was an error after a minute or two in the dev console saying about limitations on the group service however I cannot find any documentation on any limitations. It’d be good to hear if anyone knows about them as I can calculate how often I can call it based on the player count.
( I didn’t get what the error said exactly, however I can attempt to re-create the error at the expense of pinging a discord with a few thousand people )
GroupService:GetGroupsAsync() failed because number of API request/minute exceeded limit for HTTP API throttle. Please don't issue more than 400 API request/minute with server scripts and no more than 300 API request/minute with local scripts.
The limit is 400 for server scripts and 300 for local scripts.
Interestingly, this limit only exists in live servers. I ran the same test code in Studio and saw no limit.