HttpService is not allowed to access ROBLOX resources

How can i fix it?

			local HttpService = game:GetService("HttpService")
			local UniverseId = game.GameId

			local response = HttpService:GetAsync({
				Url = "https://games.roproxy.com/v1/games/votes?universeIds="..UniverseId,
				Method = "GET"
			})

			if response.Success then
				local votes = HttpService:JSONDecode(response.Body)
				print("upVotes:", votes.data[1].upVotes)
			end

Change GetAsync to RequestAsync

image

When I went to the website you provided, it said Access Denied: You do not have access to ROBLOX resources.
So I guess the API you were trying to communicate to is accessible only to admins.

thank you, I solved the problem by creating my own proxy.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.