(not a bug, code error)


I am unable to load data using GetAsync, however SetAsync previously was working fine when the data store manager let me see those changes, however the data store manager has now been down for awhile and just never loads nor shows an error message.

This has been down for several hours, atleast for the one experience I’ve tried it on.

Expected behavior

I expect to be able to load data from a datastore at all times.
I also expect interfaces for services that have outages (such as the data store manager) to show error messages if they fail to load, rather than simply doing nothing.

2 Likes

datastores are broken for my experience!! I would really appreciate an engineer helping out to see what’s gone wrong, as I cannot load from a datastore that otherwise worked fine before, but I can see the data manager and load data stores fine in my other experiences. Please help!

I can link the specific experience to any engineer who dms me, as I am unable to add a hidden staff-only mesasge to my bug report after-creation.

networking shows 404 errors for datastore:
image

the error message from the GetAsync(Datastore, {key}) returns the most helpful error ever:
image

I am calling the datastore using GetAsync() within a pcall() using the userid as the key, like so:
image

you’re providing the result of DataStore:GetAsync call into pcall which expects the function to call as its first argument. should be something like:
pcall(function() return DataStore:GetAsync(Player.UserId) end) or pcall(DataStore.GetAsync, DataStore, Player.UserId)

1 Like

ah you’re completely right, I apologise and thank you!