HTTPService error messages are incorrect

Reproduction Steps

Type print(game:GetService("HttpService"):GetAsync("website.com").

Instead of the correct error (Protocol must be defined), it says “HttpService is not allowed to access ROBLOX resources”. This also goes for GetAsync("").

Expected Behavior

The error message will correctly display the error, such as “Protocol must be defined” or “URL cannot be blank”

Actual Behavior

The console will always spit out “HttpService is not allowed to access ROBLOX resources.”

This will only happen if the URL does not have a protocol defined (google.com not https://google.com)

Issue Area: Engine
Issue Type: Other
Impact: Low
Frequency: Constantly

2 Likes

Thanks for the report. I filed a ticket to our internal database.

3 Likes