Hi, I was working on a game, and this game contains datastore usage, but sadly the datastore gave me some errors and I don't know the problem Here are the scripts:
Local DataStoreService = game:GetService('DataStoreService'):GetDataStore('PlrData')
Local data = DataStoreService:GetAsync(PlrID (This variable is set to the player UserId))
But it results an error which is:
502: API Services request with error. HTTP 0 (HTTP/1.1 403 Forbidden))
Stack Begin
Script 'ServerScriptService.LeaderBoardScript', Line 55
Stack End
Thanks for any answers

3 comments
Go to Game Settings > Options and enable Http Requests. And go to the game page and click in Configure Game and Enable The Studio Access to API Services (If this question solved put on title (SOLVED) )
yeah, that's what I though first, I know how to do that and if I didn't I wouldn't post this thread, I made these steps before and they didn't work
Posting errors that came from Roblox Studio is not allowed. (see https://scriptinghelpers.org/help/community-guidelines)