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

Datastore is failing to GetAsync?

Asked by 6 years ago
Edited 6 years ago

I have a datastore i set up but sometimes when i go to getasync like so, it is not successful

local dataFetchSuccess,ErrorMessage = pcall(function()
    playerStuff = datastore:GetAsync(tostring(player.UserId))
end)    

This is a server script of course, and i just cant figure out why it fails, even sometimes when it is a players first time playing?

If anyone has any insight on what could be causing this i would appreciate it.

Also, if you want the rest of the script i can post it. (although im not sure its important at this time)

1 answer

Log in to vote
1
Answered by
Avigant 2374 Moderation Voter Community Moderator
6 years ago

Roblox simply was encountering issues with DataStores. This is to be expected at times. There's nothing with your code causing this. At the time of writing, Roblox was looking into this problem.

When something like this happens, you can usually check the Developer Forums to see if other developers have reported trouble with DataStores.

Ad

Answer this question