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

Datastore isn't working in studio (api enabled) with weird error?

Asked by 6 years ago

No datastore scripts work (they work on other games from me)

This is the error 502: 502: API Services rejected request with error: HTTP 0 (HTTP 403 (HTTP/1.1 403 Forbidden))

??? Problem isn't with the scripts I'm 99% sure of that

0
This may be a team create problem. hiimgoodpack 2009 — 6y

1 answer

Log in to vote
0
Answered by
mattscy 3725 Moderation Voter Community Moderator
6 years ago

If I remember correctly, this error occurs when you try to use DataStores in studio in a team create game that isn't yours. If you tested it in a normal game server, it should work properly. I'm not aware of any way around this though.

0
That's just stupid but I think you're right... and because I need to work with datastore.... User#20388 0 — 6y
0
A good way to go about this is to test it in your own game first then translate it to the team create, and yeah it is stupid but I think it's for security purposes. mattscy 3725 — 6y
0
No, its not a bug. If you go to your game configuration, check enable API access in studio. Then DataStore will work in studio. User#20158 0 — 6y
0
Didn't you see the (api enabled) in the title? mattscy 3725 — 6y
View all comments (2 more)
0
this still happens to me as the owner of the game. i have api services enabled. any ideas to why this wouldn't work? James_cool 0 — 3y
0
ye same hear @James_cool not sure what to do Canyon620_YT 5 — 3y
Ad

Answer this question