Datastore Request Rate Exceeds Max After 1 Request?

Hey guys!

Straight to the point, my game has multiple datastores which have been working perfectly fine, so today I decide to add a new one which will run a Market where players can sell their in-game items.

For some reason anytime I try to make an edit to this datastore (I’ve tried both UpdateAsync and Get+SetAsync) it tells me I’ve been issuing too many requests.

The datastore contains a table similar to the following:

--example of how the datastore's contents look like
[datastore] = {
    [robuxResellers] = {
        [resaleId] = {} --table here contains all the resale data (e.g. item name, selling price, reseller) for ONE market listing
        [secondId] = {} --there is a new index and key value per listing on the market.
    }
}

My only thesis is that I’m perhaps storing too much data? We have around 30 [resaleId] = {}s each resaleId index containing maybe 10-15 keys each?
And ofcourse if you guys are wondering, I’m barely calling the requests, infact my other datastores get called way more frequently and they don’t even get warned. It’s whenever I make a single request to edit the Market datastore that I face this error.

Here is a picture of the error I’m facing too:

If anyone could offer any solutions or advice that’d be great! If you need anymore information please let me know.

1 Like

Bump, still unsolved…

Desperate help needed

Try printing your whole player datastore and then convert to JSON and check the amount of characters.

Somehow equates to 106,000 characters.

This is the whole table:
image

This is inside one of those tables:
image

No idea how this equates to 106k, any ideas?

I believe when it says “limit per key” it is talking about the key “robuxResellers”. How many characters is that?

106k. All the data from the datastore is in robuxResellers

Edit: screenshots above show the entire contents of robuxResellers, no idea how it adds up to 106k though.

Was able to locate the issue. I was storing “robuxResellers” inside each key again making the whole market repeat itself. Thanks for helping, wouldn’t have been able to find this out without you!

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