Errors in counting the number of Keys in the DataStore

I am trying to count the number of Keys in a certain DataStore and then perform an operation, but I only succeed if there are for example 6000 Keys, and then I have the ListKeysAsyncThrottle Error, I would love to know how I can fix it. (I already tried to make it wait a minute and then continue when there is this error but it still doesn’t help)

1: DataStoreService: ListKeysAsyncThrottle: ListKeysAsync request dropped. Request was throttled. API: DataStoreKeyPages_AdvanceToNextPageAsync, Data Store: PlayerData

2: ListKeysAsyncThrottle: ListKeysAsync request dropped. Request was throttled.
1 Like