The current identity (2) cannot HttpEnabled (lacking permission 3)

So i tried using the HttpService but i got an error which says: The current identity (2) cannot HttpEnabled (lacking permission 3)
I enabled Http requests in game settings.
my script:

game:GetService(“HttpService”).HttpEnabled = true
local http = game:GetService(“HttpService”)

local data = {
[“content”] = “Hey! This is a test, this message goes from place 54 xd.”
}

data = http:JSONEncode(data)

http:PostAsync(“my webhook”,data)

2 Likes

Remove the HttpEnabled = true and it will be fixed since Scripts cannot change these settings.

9 Likes