Why is my https trust check fail?

Im trying to get the amount of members in my group but I cant seem to get it to work due to a error “Trust Check Failed”, then the link. Please help me.

Code:

local groupID = "8564775"

local HttpService = game:GetService("HttpService")

print(game.HttpService:JSONEncode(HttpService:GetAsync("https://groups.roblox.com/v1/groups/" .. tostring(groupID))).memberCount)

You can’t make requests to *.roblox.com from a Roblox game. You’ll have to try using a proxy or something like that.

1 Like

How would I set one up? Im new to html so I was just messing around.

If you’re not confident setting up your own, you could fork cors-anywhere or a similar project. You could also use an existing project like https://rprxy.xyz as long as you’re not passing cookies.

2 Likes