Open Cloud API V2 error 404

I have a little issue with the API “OpenCloudV2”. I’m trying to make an auto translate system and for some reason it doesn’t translate words.
Here’s all the infos below:

I added the api on my game to translate words, here’s what I got in the console:

This is my server script:

HttpRequestFunction.OnServerInvoke = function(player, msg, locale)
		print(player.Name .. " requested translation:", msg)
		
		local request = {
			path = OpenCloudV2:UniversePath(UNIVERSE_ID),
			text = msg,
			target_language_codes = { locale }
		}

		local result = OpenCloudV2:TranslateText(request)

		if result and result.Response and result.Response.translations then
			local t = result.Response.translations[1]
			if t then
				return t.translated_text
			end
		end

		warn("Translation Failed:", result)
		return msg
	end

Here’s the error I get in studio: {“errors”:[{“code”:0,“message”:“”}]}

If someone could give me a direction to my issue, that would be really appreciated.

Confused here. What is OpenCloudV2 in this instance? Is it a third-party module or something else? I can’t find any documentation of an OpenCloudV2 object native to ROBLOX and the only service I could find, OpenCloudService, is deprecated in favor of HTTP requests. I’m unsure of which endpoint you’re using here, because it looks like you’re trying to make an HTTP request.

Open Cloud V2 is meant to work with REST APIs and HttpService supports a number of endpoints for Open Cloud. Also, ROBLOX supports automatic translation of strings. Is there a reason you need to do this programmatically instead of letting ROBLOX’s automatic translation handle it? Nevermind, this is only for UI-related strings.

The error code is 0, which is atypical of an HTTP request and implies an issue that is not HTTP-related, but if you’re getting 404 errors, it means the resource/endpoint/whatever you’re making requests to is not a valid endpoint.

EDIT: I see. Your code is based off of this page and OpenCloudV2 is a ROBLOX-provided wrapper for interacting with the Open Cloud V2 endpoint. Make sure HTTP requests are enabled on your experience and ensure your path is correct. It also looks like someone else may be having the same issue and it may be the module?

Also also, this warning. Try running in Team Test to see if that works?