HttpService is not allowed to access ROBLOX resources (with proxy)

image

Hi I’m getting this issue, while I’m using a proxy, please help!
the [PROXY] is to protect info, I am using Heroku

local subcategory = 9
local url = "https://[PROXY]/catalog/json?Subcategory=" .. subcategory .. "&IncludeNotForSale=true&ResultsPerPage=60&PageNumber="

local pages = 25
local assets = {}

for i = 1, pages do
	local urlPage = url .. i
	print(urlPage)
	
	
	local request = Http:JSONEncode(Http:GetAsync({
		Url = urlPage,
		Method = "GET",
		Headers = {
			["X-API-KEY"] = "123"
		}
	}))

	--local request = Http:JSONEncode(Http:GetAsync(urlPage))
	print(request)
	data = Http:JSONDecode(request)
	--print(typeof(data))
	print(data)
	
	print(data[1])
	for ii = 1, #data do
		local asset = data[ii]
		print(typeof(asset))
		local id = asset.AssetId
		local name = asset.Name
		
		print(id, name)
		assets[#assets + 1] = "{Id = " ..id .. ", Name = \"" .. name .. "\"}"
	end
end
--[[
local source = "return { \n\t" .. table.concat(assets, ",\n\t") .. "\n}"
local module = Instance.new("ModuleScript")
module.Name = "Accessories1"
module.Source = source
module.Parent = script]]

I forgot to mention, I am trying to get catalog item data from catalog pages!

Is the proxy just redirecting the request?

I’m using roproxy lite that might be the problem?

Hmm roproxy might have gotten blacklisted?

If you can’t figure it out you can test with my proxy (Dm me if you’d like, it’s set up a tad different)

1 Like