I’ve looked through DevForum looking for people with the same problem and I’ve tried all of those fixes such as adding http://
or https://
and it seem to have the same problem still.
game.ReplicatedStorage.UniformEvent.OnServerEvent:Connect(function(player, uniformType)
if uniformType == "GetOutfits" then
local HttpService = game:GetService('HttpService')
local url = "https://avatar.roblox.com/v1/users/"..player.UserId.."/outfits"
local request = HttpService:GetAsync(url)
local decoded = HttpService:JSONDecode(request)
if not decoded.data then
return warn('no outfit')
end
game.ReplicatedStorage.UniformEvent:FireClient(player, "returnOutfits", decoded.data)
end
end)
It keeps erroring:
https://avatar.roblox.com/v1/users/1200418133/outfits: Trust check failed