HTTP 403 (Forbidden)[SOLVED]

  1. What do you want to achieve? Keep it simple and clear!
    So im making a bundle loader plugin. But i ran into this little problem when using IsnertService

  2. What is the issue? Include screenshots / videos if possible!

After the code has loaded all the items from the bundle. InsertService throws this error “HTTP 403 (Forbidden)”. Im not really sure why this is happening. I got “Enable access to api services” on and “Allow third party sales”(For testing) enabled? aa

Im not doing anything wrong from what i know?.

Heres my current code by the way:

local function LOAD_ITEMS(ID)
	
	local NPC = game:getObjects("rbxassetid://7189165943")[1]
	NPC.Parent = game.Workspace
	--local CF = GET_CAM_CF()
	NPC:SetPrimaryPartCFrame(CFrame.new(0, 0, 0))
	local FOLDER = Instance.new("Folder")
	
	FOLDER.Name = "LOADED ITEMS"
	FOLDER.Parent = game.ServerStorage

	local TABLE = ASSET:GetBundleDetailsAsync(589) -- Asset is the Asset Service
	
	for i, v in pairs(TABLE.Items) do
		local THING = INSERT:LoadAsset(v.Id)
		THING.Parent = FOLDER
	end
	
    -- Errors when code reaches this point
end

Not sure if this will affect anything but you could try turning this on cuz it says about HTTP.

2 Likes

If you try to insert an asset that’s not owned by Roblox or the game creator, you’ll get that error

1 Like

Thanks for the help but i solved it by putting it in a pcall. Forgot to change the topics title. Thanks anyways :slightly_smiling_face:

Thanks for the help but i solved it by putting it in a pcall. Forgot to change the topics title. Thanks anyways (:

1 Like