Having an issue with HTTP requests

Hello!

I’ve an issue with a group member script. I made a board, which displays how many members there are in my group. However, an erorr is popping up

Here is the code:

local groupId = 5863683
local groupData = game:GetService("GroupService"):GetGroupInfoAsync(groupId)
local httpService = game:GetService("HttpService")
local url = 'https://groups.rprxy.xyz/v1/groups/' .. groupId

while wait(10) do
    local memberCount = httpService:JSONDecode(httpService:GetAsync(url)).memberCount
    script.Parent.MemberCount.Text = "🔴[LIVE] Members: " .. memberCount
    script.Parent.GroupImage.Image = groupData.EmblemUrl
    script.Parent.GroupName.Text = groupData.Name
	script.Parent.GroupDescription.Text = groupData.Description
end

There isn’t much with HTTP in the lobby, so I don’t know why it is saying that!

This means you are being rate-limited by the website. You could try increasing the wait delay to maybe 30. If that does not work try GroupService as it has mostly the same features, except for the member count.

If you need to be able to access a live member count you could make your own Roblox api proxy, and send the request to there.

3 Likes

Unfortunately, increasing the wait isn’t working, however making an own api proxy sounds like a great idea!