Fix "HTTP Requests Are Not Enabled" in Roblox Studio
Why Roblox says HTTP requests are not enabled, how to turn on Allow HTTP Requests in Experience Settings or the Command Bar, and what to check if it fails.
On this page
If your Output window shows “Http requests are not enabled” the moment a script calls HttpService, Roblox is blocking outgoing web requests for that place. This is the default for every experience, and the fix is a single toggle. This guide shows where to find it, a Command Bar alternative, and what to check when the error keeps coming back.
Why “HTTP requests are not enabled” appears
HttpService is the service that lets a game server talk to websites and web APIs. According to the Creator Hub, its request methods (GetAsync(), PostAsync(), and RequestAsync()) are disabled by default. Roblox keeps them off so a place can’t contact outside servers unless the creator chooses to allow it.
So the error doesn’t mean your code is wrong. It means the place’s HttpEnabled setting is still false. You’ll typically see it in the Output window in a form like this:
Http requests are not enabled. Enable via game settings
Click the error to jump to the line that tried to send the request. That line is fine; the setting is what needs to change.
Fix 1: Turn on Allow HTTP Requests in Experience Settings
This is the method the Creator Hub documents, and it’s the one to use for a published experience.
- Open your place in Roblox Studio.
- Go to File › Experience Settings. (Older Studio versions and many forum posts call this window Game Settings.)
- Select the Security section.
- Turn on Allow HTTP Requests.
- Click Save.
- Start a new playtest and run your script again.
flowchart LR
A["File › Experience Settings"] --> B["Security"]
B --> C["Allow HTTP Requests: on"]
C --> D["Save and playtest again"]
The same Security section also has Enable Studio Access to API Services. That one is a different switch: it controls whether Studio can reach data stores and other API services, not outgoing web requests. If you’re also seeing data store problems, see how to fix “DataStore request was added to queue”.
Fix 2: Use the Command Bar for unpublished places
The HttpEnabled reference notes that for unpublished experiences, you set the property to true from the Command Bar. This is also a quick option when the settings window won’t cooperate.
- In Studio, open the Command Bar.
- Make sure you are in Edit mode, not in a running playtest.
- Paste this line and press Enter:
game:GetService("HttpService").HttpEnabled = true
game:GetService("HttpService") gets the service, and setting HttpEnabled to true allows request methods to work in this place. Save the place afterward (File › Save or publish) so the change is kept, then test again.
Fix 3: Enable it in every place of your experience
If your experience has more than one place (for example, a lobby plus separate match places you teleport to), check the setting in each one. DevForum users report that new places added to an experience start with HTTP requests disabled even when the start place already has them on.
Open each place in Studio and repeat Fix 1 or Fix 2. A script that works in the lobby but errors after a teleport is a strong hint that the destination place is the one still switched off. If you’re testing teleports, our guide to testing teleports in Roblox Studio covers how to run multi-place tests.
Fix 4: Send requests from the server, not a LocalScript
The Creator Hub states that HttpService can’t be used by LocalScripts. HTTP requests are sent from experience servers only. If your request code lives in a LocalScript (in StarterPlayerScripts, StarterGui, or a tool), it won’t work no matter how the toggle is set.
Move the request into a server Script in ServerScriptService, and wrap it in pcall so a failed request doesn’t stop the whole script:
local HttpService = game:GetService("HttpService")
local ok, result = pcall(function()
return HttpService:GetAsync("https://example.com/data.json")
end)
if ok then
print("Got a response:", result)
else
warn("HTTP request failed:", result)
end
Here’s what each part does:
GetAsync(url)sends a GET request and returns the response body as a string. It yields (pauses this thread) until the response arrives.pcallcatches errors, sookisfalseandresultholds the error message if the request fails. Per the reference, request methods raise an error when the response times out or the target server rejects the request.https://example.com/data.jsonis a placeholder. Replace it with the real HTTPS address you want to call.
If a client needs the data, have the server fetch it and send it over a RemoteEvent. Test the script in Studio after you make changes, and keep an eye on Output for the warning branch. If you get errors about a missing object on the line before the request, our guide on fixing “attempt to index nil with” walks through those.
If it still doesn’t work
Once the toggle is on, a different error usually points to a different limit. These are the ones documented on the Creator Hub:
| What you see or do | Likely cause | What to change |
|---|---|---|
| Still “not enabled” after toggling | Setting not saved, or a different place is running | Click Save, reopen the place, check each place |
| Request works in Studio, not after a teleport | Destination place still has HTTP off | Enable it in that place too |
| Request fails with an HTTP URL | Only HTTPS is supported | Use an https:// address |
| Request to an unusual port fails | Ports below 1024 (except 80 and 443) and port 1194 are blocked | Use a standard port |
| Requests start failing under heavy use | Over the 500 requests per minute limit per server | Batch data into fewer requests and retry with backoff |
| Custom headers are rejected or ignored | User-Agent and Roblox-Id are locked by Roblox | Remove those headers from your request |
Another error you may hit, “HttpService is not allowed to access ROBLOX resources”, isn’t a settings problem. Many DevForum threads show it appears when a request targets a Roblox website address, and turning on Allow HTTP Requests doesn’t change it. For Roblox data, check whether a built-in service or a supported Open Cloud endpoint covers what you need instead.
For retries, the HttpService guide recommends exponential backoff: wait 2 seconds, then 4, then 8, and so on, before trying a recoverable request again. That keeps you from burning through the per-minute limit when an outside server is having trouble.
One last tip: turn HTTP requests on only in places that actually need them. Fewer places with outgoing requests means fewer spots where a stray plugin or free model script could send data somewhere you didn’t intend.
Related guides
- Roblox DataStore Not Working in Studio? How to Fix Error 403
- Roblox Studio Assistant: How to Open, Use, and Manage Settings
- Roblox ProximityPrompt Not Showing? 8 Fixes to Try
- Fix “Failed to Load Animation” Sanitized ID Error in Roblox
Sources
- HttpService guide (Roblox Creator Hub)
- HttpService class reference (Roblox Creator Hub)
- Data stores: enable Studio access (Roblox Creator Hub)
- Why are HTTP requests disabled in every new place I make within a game? (Roblox DevForum)
- HttpService is not allowed to access ROBLOX resources (Roblox DevForum)
Frequently asked questions
Why does Roblox say HTTP requests are not enabled?
HttpService request methods like GetAsync, PostAsync, and RequestAsync are turned off by default. Until you switch on Allow HTTP Requests for the place, any call to them fails with this error.
Can I enable HTTP requests from a script?
No. HttpEnabled is not something your game scripts can set while the experience runs. Turn it on in Experience Settings or by running a line in Studio's Command Bar.
Can a LocalScript send HTTP requests in Roblox?
No. The Creator Hub reference states that HttpService cannot be used by LocalScripts. Send requests from a server Script and pass the results to clients with a RemoteEvent if they need them.
How many HTTP requests can a Roblox server send?
The HttpService reference lists a limit of 500 requests per minute for external HTTP requests per game server. Requests over the limit fail. Open Cloud requests have their own separate limit.