Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I solve the Trust Check failed problem in my script?

Asked by 6 years ago

I am currently creating a in-game gamepass shop and for that I want to get every available gamepass of this game

I got the link for the webapi of ROBLOX but it gives me this error:

10:26:12.665 - https://www.roblox.com/games/GetGamePassesPaged?placeId=177052655&startIndex=1&maxRows=3: Trust check failed 10:26:12.665 - Stack Begin 10:26:12.666 - Script 'Workspace.Fountain.StatuePlace.Init', Line 22 10:26:12.666 - Stack End

And I do not know why I even tried the link with https:// instead of http:// but both won't work.

That is the script so far:

local http = game:GetService("HttpService")

local tabel = http:JSONDecode(http:GetAsync("https://www.roblox.com/games/GetGamePassesPaged?placeId=177052655&startIndex=1&maxRows=3"))
0
And the URL work fine for me RicheeNektar 78 — 6y

1 answer

Log in to vote
0
Answered by
blowup999 659 Moderation Voter
6 years ago

The problem with your code is you're trying to receive directly from roblox, which roblox prohibited for either security or lag reasons. To fix this you would either have to send the request to a server that will then send the request to roblox or just store the information on a server.

0
And how would that look like? RicheeNektar 78 — 6y
0
I found out that the website gets blocked by the HttpService :( RicheeNektar 78 — 6y
Ad

Answer this question