Datastore request added to queue even though only requested once

Im setting up a Data Store for my game, and I made it so that it saves in studio (via using game:BindToClose) so that it saves in studio. The thing is, is that I have an error when trying to save, even though I’m only trying to save ~4 values to one player. Error: DataStore request was added to queue. If request queue fills, further requests will be dropped. Try sending fewer requests.Key = 2063363448. If you might have any ideas, or if I don’t need to worry about this, lmk. Thanks.

Don’t worry about this error. It only happens when the server closes and your code already hooks PlayerRemoving. It just means the DataStore received two requests from the client to save: one when PlayerRemoving event is fired and a subsequent one when the last player leaves the server and it dies, i.e. BindToClose. Under normal circumstances this can be ignored. Roblox will automatically try its best to keep servers alive and the event when the last player leaves a server, such that the server has to die, will happen infrequently enough that as a Developer you needn’t worry about it.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.