I haven’t tested the code outside of studio. This is the code, though
local http = game:GetService("HttpService")
local baseUrl = "https://catalog.roproxy.com/v1/search/items/details?Category=3&Subcategory=13&Limit=30&CreatorName=%s&cursor=%s"
local function getUserGeneratedTShirtsRecursive(username, tshirts, cursor)
tshirts = tshirts or {}
cursor = cursor or ""
local requestUrl = baseUrl:format(username, cursor)
local success, result = pcall(function()
return http:GetAsync(requestUrl)
end)
if success then
if result then
local success2, result2 = pcall(function()
return http:JSONDecode(result)
end)
if success2 then
if result2 then
for _, tshirt in ipairs(result2.data) do
table.insert(tshirts, tshirt.id)
end
cursor = result2.nextPageCursor
if cursor then
return getUserGeneratedTShirtsRecursive(username, tshirts, cursor)
else
return tshirts
end
end
else
warn(result)
end
end
else
warn(result)
end
end
local username = "bleintant"
local userTShirts = getUserGeneratedTShirtsRecursive(username)
The second warn(result) line is the one that is giving me the error, meaning that the code isn’t even running past this block of code:
local requestUrl = baseUrl:format(username, cursor)
local success, result = pcall(function()
return http:GetAsync(requestUrl)
end)
Honestly, no idea so I asked ChatGPT and this was the response.
1. Check for Roblox Studio Updates
Ensure they are running the latest version of Roblox Studio. An outdated version might lack recent SSL/TLS updates that are needed to properly verify certificates.
2. Check Network and Security Settings
Corporate or School Networks: If they are on a managed network (like a school or corporate network), it may have strict security policies that interfere with Roblox’s certificate verification.
VPN or Proxy: If they are using a VPN or proxy, suggest disabling it temporarily to see if that resolves the issue, as these can sometimes intercept and alter SSL certificates, leading to verification errors.
Firewall/Antivirus Software: Ask them to check if any firewall or antivirus software might be inspecting or blocking Roblox traffic. They might need to add Roblox Studio as an exception to allow unaltered connections.
3. Verify System Time and Date
Ensure the computer’s date and time are set correctly. Certificate verification relies on accurate system time, and a mismatch can cause verification to fail.
4. Clear Roblox Studio Cache
Sometimes, corrupted cache files can cause various issues in Roblox Studio. They can clear the cache by following these steps:
Close Roblox Studio.
Go to the Roblox folder (on Windows: C:\Users\USERNAME\AppData\Local\Roblox).
Delete the Cache folder inside.
Restart Roblox Studio and try the request again.
5. Try Reinstalling Roblox Studio
If none of the above steps work, a reinstall might help. They can uninstall Roblox Studio, remove any remaining files in the Roblox directory, and reinstall to ensure a clean setup.
6. Test on a Different Network or Computer
To rule out specific network or device issues, they could try running the request on a different network (like a home Wi-Fi connection) or another computer.