HttpService Error When Accessing Roblox Resources

Hello everyone,

I am currently encountering an issue with using HttpService to access Roblox resources. Whenever I try to use HttpService to retrieve data from the Roblox catalog API, I get the following error:

HttpService is not allowed to access ROBLOX resources

Here’s the code I’m using to make the API request:

local apiEndpoint = "https://catalog.roblox.com/v1/search/items/details?category=2&subcategory="..subcategory.."&limit=100&sortType=3&sortAggregation=5&maxPrice="..budget
local response = game:GetService("HttpService"):GetAsync(apiEndpoint, true)

I’ve already tried adding the HttpEnabled property to true in the game settings, but the error still persists.

Any help or suggestions on how to resolve this issue would be greatly appreciated. Thank you!

You can’t send direct Http requests to the Roblox Servers from HttpService; you have to use a proxy. There’s a few on the forum you can use.

really can you provide a few links?

The most popular one is roproxy, or if you want to host your own, you can use this github repository as a template: GitHub - sentanos/rprxy: ROBLOX Proxy

To send a request to Roproxy, just replace roblox in the url to roproxy.

"https://catalog.roproxy.com/v1/search/items/details?category=2&subcategory="..subcategory.."&limit=100&sortType=3&sortAggregation=5&maxPrice="..budget