Instance: Trust check failed on RemoteFunction

Webhook is actually a remotefunction.

No, it’s a RemoteFunction

Please read this article: Custom Events and Callbacks | Documentation - Roblox Creator Hub

function Invoked(player, message)
    local Payload = HttpService:JSONEncode({
		content = message,
		avatar_url = Players:GetUserThumbnailAsync(player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420),
		username = player.Name .. ' - (#' .. player.UserId .. ')'
	})

	HttpService:PostAsync(Webhook, Payload)
return 'feedback success'
end

plsputpath.OnServerInvoke:connect(Invoked)

That wouldn’t change anything.

Please use ``` for code, hard to read :grimacing:

This appears to be a bug of some kind - “Trust Check Failed” implies Roblox’s servers are rejecting the request as it is pointed towards a roblox.com domain.

Perhaps you should report this as a bug, as built in methods should not error this way.

You’re passing the RemoteFunction itself to PostAsync, which is certainly not a valid URL.

1 Like

Just noticed that, but another error just takes it’s place
HttpError: DnsResolve
on the same line.

Not sure why it errors on the client tho. It should error on the server

Are you sure the webhook domain is correct?

Positive because I’ve used it before in other games

Double check by going into command prompt and using command nslookup [domain]. It should give you an IP address. If it doesn’t exist it’ll say non-existent domain. If it does exist then your DNS servers could be propagating.

Not entirely sure how nslookup works?

Do I just type
nslookup [url]
(without the brackets?)

Yes and it should pop out a non-authoritative answer which is the part that shows if it exists or tell you it doesn’t.

I just get an error
Expected ‘=’, got ‘https’

Don’t use a protocol. Only the domain name.

Not sure what you mean? it’s a discord webook, so it’s just the url discord gives you for webhooks

I thought Discord blocked Roblox? Anyhow, the protocol is at the beginning, like https:// I mean just do something like google.com. If it is discord then you could try using one of the proxy services and see how they work out.

Oh ye, I am using a proxy server, discord.osyr.is instead of the default discordapp.com (because that doesn’t work)

Oh okay osyr.is. One second. It is probably the problem.

This post says it shut down a long time ago. Is it possible for you following the tutorial and creating your own docker app? Or there may be some other ones out there.

Or apparently discord no longer blocks Roblox. Could you try discord directly?

2 Likes

By the way, the reason why you’re getting the error on the client is because RemoteFunctions propagate the error from the server to the client. This is one reason why you shouldn’t use RemoteFunctions. Otherwise always make the server callback use a pcall internally, so it wouldn’t spill the error back to the client.

1 Like