HTTP Request error

Hello, im making a catalog tester game but im having some issues with it. On my http request script i get this error: HTTP 429 (Too Many Requests)
This is my script:

local rep = game:GetService("ReplicatedStorage")
local example = rep:FindFirstChild("item")
local event = script.loaditems
event.OnServerEvent:Connect(function(plr, text)
	print("Focused")
	local url = "https://catalog.rprxy.xyz/v1/search/items/details?Keyword=" .. text
	local get = http:GetAsync(url)
	local data = http:JSONDecode(get)
	for i, v in pairs(data.data) do
		local clone = example:Clone()
		clone.Parent = plr.PlayerGui.catalog.main.scroll
		clone.Image = "https://www.roblox.com/asset-thumbnail/image?assetId=" .. v.id .. "&width=420&height=420&format=png"
		wait(3)
	end
end)
1 Like

How many times does that RemoteEvent fire?

When a textbox focus is lost, the remote event is fired, so its like 1 time

I think the issue is with the API because I’ve never used it and I get the same error.

1 Like

So, how games like: catalog heaven, meepcity, adopt me works? because their catalogs works perfectly

Not fully sure why this is happening but have you actually got HTTP Requests enabled in Studio Settings? I couldn’t see any reference to it being enabled in the post. Also have you only tried testing in Studio? Not everything works in Studio so I’d try doing it outside of Studio too.

Taken from Roblox’s API Reference, other scripts could affect the number of requests sent, as this is your whole game. Or, it could be the API you’re using.

The current limitation for sending and receiving HTTP requests is 500 requests per minute. Requests over this threshold will fail. Additionally, Roblox domains are blacklisted. This means that HTTP requests cannot be sent to any Roblox owned site, such as www.roblox.com.

Make sure you are checking that the input in the TextBox is not the same as the previous request, as well as making sure someone can’t just type a whitespace and send that off as a request. These are some reasons why your remote can be getting fired to the extent where your http calls get rate limited.

when i test the game, i only fire the event 1 time so the problem isnt this

1 Like

This is now happening to me, despite one call being sent every 5 seconds.
No other scripts currently use HTTPService.
Nothing I do fixes this.

Bug, or place issue?