In my datastore script theres an error using GetAsnyc() called ProvisionedThroughputExceededException that fails to load or get the data and im not sure why.
COMMUNITY QUESTION
DataStore Error?
2 answers
Is it possible you're going over the :GetAsync() limit? Check http://wiki.roblox.com/index.php?title=Data_store#Limitations to see if you exceeded those limitations.
Roblox
It's an error on Roblox's side normally, and they never bother to fix the issue. Normally if you go over the limit, your requests will instead get throttled. What you can do to get around this is try pcalling it and repeating stuff until it doesn't error out
local val
repeat
local succ, err = pcall(DataStore.GetAsync, DataStore, Key);
val = err;
until succ or (wait(0.6) and false)
print(val)
That may or may not work. Excuse my hacky yielding.
This discussion is preserved as it was. New answers, comments, and votes are closed.
