HttpService:GetAsync() Returning "HTTP 500 (Internal Server Error)"

My Code:

function getGameInfo(gameID)
	local function returnUniverseID(placeID)
		local universeResponse = HS:GetAsync("https://api.rprxy.xyz/universes/get-universe-containing-place?placeid=["..placeID.."]")
		local universeDecode = HS:JSONDecode(universeResponse)
		
		return universeDecode.UniverseId
	end
	
	local dataResponse = HS:GetAsync("https://games.rprxy.xyz/v1/games?universeIds="..returnUniverseID(4581966615))
	local gameData = HS:JSONDecode(dataResponse)
	
	print(gameData)
end

The Issue:
Line 5 is reporting HTTP 500 (Internal Server Error), it’s on local universeResponse =

What I’m trying to do:
Grab game info from the web using rprxy.xyz as a proxy, first I use it to get the universe id from a placeid, then with that universe id I grab game info

Isn’t the error code self explanatory? “Internal Server Error”.

1 Like

I’m not that familiar with httpservice as I haven’t used it a lot, does this mean there’s something wrong with my code or roblox’s end?

Most likely, yes. 30charrrrrrs

1 Like

yes to what lol, roblox’s end? Or maybe do you think it could be the proxy, should I switch proxy?

Possibly the proxy or roblox. I don’t know how I would trace it back though. Try doing something simple with the proxy such as returning a players username, if that doesn’t work, try another proxy.

yeah so the endpoint was closed

1 Like

Riley the IT enthusiast/whiz explains, HTTP 500 is an Internal Server Error, which means the server encountered an unexpected condition that couldn’t let it fulfil the request and make a response. It’s a good sign you got a response, but a 500 is not a good sign.