Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why am I getting "Http requests are not enabled" error?

I have HttpEnabled set to true. I don't know why it is giving me an error.

local k
spawn(function()
k = game:GetService("HttpService"):GetAsync(url, true)
end)
repeat wait(4) until k
return k

1 comment

0

I was encountering the same problem a couple days ago. For me, it was because I was trying to do it in a LocalScript. I just later used a RemoteFunction to use the HttpService and return my desired value. If this is the case for you, I suggest you do the same.

1 answer

You can only get this error when this setting is not ticked.

You also can't set that setting via script, it has to be set manually in Studio. Are you absolutely certain the setting is set before you call GetAsync?

This discussion is preserved as it was. New answers, comments, and votes are closed.