You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
I want to translate the word “Hello” to spanish
- What is the issue? Include screenshots / videos if possible!
The issue is I keep on getting issues saying "The request failed 403"
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I looked in the developer hub and looked on youtube but it didn’t really help
local HttpService = game:GetService("HttpService")
local function request()
local response = HttpService:RequestAsync(
{
Url = "https://libretranslate.com/translate",
Method = "POST",
Headers = {
["Content-Type"] = "application/json"
},
Body = HttpService:JSONEncode({
["q"] = "Hello",
["source"] = "en",
["target"] = "es"
})
}
)
if response.Success then
print("Status code:", response.StatusCode, response.StatusMessage)
print("Response body:\n", response.Body)
else
print("The request failed:", response.StatusCode, response.StatusMessage)
end
end
local success, message = pcall(request)
if not success then
print("Http Request failed:", message)
end

