There is currently an annoying bug as it seems with Roblox Data Stores. They keep responding with “508: Exhausted all retries for key: %s string”. At first, I assumed I was going over my limits but I was clearly not. This bug started for me on January 22nd. This bug happened in an old unedited data store script of mines. The bug only went away after waiting and modifying my script a bit.
Here is the part of the code where the error kept happening to me:
function dataStore:set(newData)
local key = os.time()
key = tostring(key)
self.value = newData
self.orderedDataStore:SetAsync(key, key)
self.dataStore:SetAsync(key, newData)
return newData
end
How the function was called:
local dataStore = require(module)
local DSClass = dataStore.new("name", "key", {"Hello, world!"})
print(DSClass.value[1])
I have also recently been experiencing this error with RemoteFunctions, This is very game-breaking to the point that I can not load client data from the server.
I was in a Team Create with someone (they were the owner of the place, and had invited me) and I was getting this error whenever trying to do anything with DataStores, but when they I gave them some code to run, it ran no problemo.
It seems like the problem was fixed. I think Roblox DataStores were having some issues. It would nice if Roblox told us what a “508” error meant.
This problem is on Roblox’s end. You should probably file a bug report if you keep getting this error repeatedly and you checked over your code carefully
Edit:
This bug appears to keep happening in different games.
The 5xx series are internal errors (look up HTTP error tables for definitions) and are not things that you can commonly fix yourself if you are sure that you are calling the method correctly. They cannot provide a better error message for these failures and you are meant to recognize these as HTTP error codes.
I started getting this error as well 3 days ago. I can not find any solution to fix it so I just gave up.
it only happens in some games because I tested my old games and datastore worked fine.
roblox has not said anything about 508 error anywhere.
Ironically this just started happening for me as well, despite using alphabetic keys. It’s totally hit or miss but appears to happen more frequently in studio than in game.