Http Service Problems Regarding Groups

I tried to normally check if the link would yield anything, but received “Trust Check Failed:”

local http = game:GetService("HttpService")

local function getGroup(groupId)
	local url = "https://groups.roblox.com/v1/groups/"..groupId
	local data = http:JSONDecode(http:GetAsync(url, true))
end

getGroup(9661965)

image

I then tried to use a Proxy Server(rprxy.xyz), but still got a “Too Many Requests” error:

local http = game:GetService("HttpService")

local function getGroup(groupId)
	local url = "https://groups.rprxy.xyz/v1/groups/"..groupId
	local data = http:JSONDecode(http:GetAsync(url, true))
end

getGroup(9661965)

image

Can anyone help with this?

1 Like

this is a bug with rprxy(happened to me to). It can’t really be stopped. You may need to setup your own proxy.

Do you know any good 3rd party software or other websites that might help with this?

You can just use simple express app. You can host it yourself or use a hosting like heroku or something.

const express = require('express')
const fetch = require("node-fetch")
const app = express()
const port = 3000

app.get('/', (req, res) => {
  res.send('Hello World!')
})

app.get('/api', (req, res) => {
  const id = req.query.id
  fetch(`https://groups.roblox.com/v1/groups/${id}`)
   .then(re => re.json())
  .then(body => res.json(body))
})

app.listen(port, () => {
  console.log(`listening at http://localhost:${port}`)}
)

If you wil run the code above it should be avaible at http://localhost:3000.
To get the group json you would need to go to http://localhost:3000/api/?id=yourgoupidhere

1 Like

How might I go about writing this if I was going to use heroku? (I’ve never really used a lot of JavaScript before)

This is an old and resolved problem but I’m not getting an HTTP 429 when I try the original code, thought it’d be worth mentioning. You know, so people don’t have to build an express app and can just use the endpoint directly from Roblox.

Problem is Too Many Requests, That means many peoples using rprxy, and roblox are stopping requests from rprxy.
You can clone original rprxy source code from GitHub - sentanos/rprxy: ROBLOX Proxy and deploy it on heroku.

You can try GitHub - blicyy/rblx-api-request: Easy way to request Roblox API from the Roblox Studio. i made it some time ago just few mins ago though i didn’t tested that because of uhh just a small problem but it doesn’t matter.

1 Like

Thanks! I got it all working, your help made it a lot easier!