Similar to this topic: DataStore:GetVersionAsync() keeps throwing 500/502 errors
- Note: I’m testing this in Studio, but since it’s a DataStore problem, I’m creating a bug report for Engine
I’m trying to use GetVersionAsync() to roll back some DS data:
local Success, Pages = pcall(function()
return DataStore:ListVersionsAsync(Chave, Enum.SortDirection.Descending, MinDate, MaxDate, NumItems)
end)
if Success then
local Items = Pages:GetCurrentPage()
for Key, Info in pairs(Items) do
local Value = DataStore:GetVersionAsync(Chave, Info.Version)
- I have 3 DS
- For the first DS there is no error;
- For other 2 DS I get error 500:
502: API Services rejected request with error. HTTP 500 (Internal Server Error)
Would it, by any chance, have something to do with deleted keys?