Still have questions? Join our Discord server and get real time help.
Log in to vote

14:23:14.566 - The current identity (2) cannot HttpEnabled (lacking permission 3)?

Asked by 2 months ago
Edited by incapaxx 2 months ago

So I been tryna turn HttpService and I made a script that did something with HTTP heres the script

local HttpService = game:GetService("HttpService")

local URL_ASTROS = "Censored link."

-- Make the request to our endpoint URL

local response = HttpService:GetAsync(URL_ASTROS)

-- Parse the JSON response

local data = HttpService:JSONDecode(response)

-- Information in the data table is dependent on the response JSON

if data.message == "success" then

print("There are currently " .. data.number .. " astronauts in space:")

for i, person in pairs(data.people) do

print(i .. ": " .. .. " is on " .. person.craft)



Now this returns the output 14:28:11.611 - Http requests are not enabled. Enable via game settings I checked everything I made sure it was saved and everything but it keeps returning this . by the way this was done in a server script. So I wanted to check if httpservice was on so I put in a server script print(game.HttpService.HttpEnabled)

and it returned in the output 14:23:14.566 - The current identity (2) cannot HttpEnabled (lacking permission 3)

does anyone know why this is happening is there like a reason this is happening or am I just doing something wrong

I don't know what you mean but I did go to my game's website and configured and checked the http enabled box and pressed save HalsCreative -14 — 2mo
Does it work now? Betuven 11 — 2mo
What do you mean it was always like this I did this like 2 days ago it does not work annd keeps returning the errors HalsCreative -14 — 2mo
*DELETED COMMENTS Betuven 11 — 2mo
I censored your link. Do not share it. There is cruel people in this world incapaxx 3107 — 2mo

1 answer

Log in to vote
Answered by
Betuven 11
2 months ago
Edited 1 month ago

Hello, again. Hopefully, i have found the answer to your question. So, all you have to do is to enable HttpRequest in the game's SETTINGS inside OPTIONS.

The next thing you should do, is to use a SCRIPT instead of a LOCALSCRIPT, or using a SCRIPT to run that line of code from a MODULE SCRIPT.

Basically, when you START the game, it should print everything that is inside that site.

If that also doesn't work, it means that you are not allowed to use HTTP service in that place, this could happen if your in someone else's place.

Good Luck!


Answer this question