I keep getting MemoryStoreService internal errors

Randomly while in my game I get:

MemoryStoreService: InternalError: Internal Error. API: SortedMap.Get, Data Structure: MainGameMap.

And it completely stops everything related to the MainGameMap system from working until the server is restarted, which affects my game heavily.

It Started to happen a few hours ago for the first time. Am I being rate limited? I’m way below the MemoryStore rate limit though and it was happening while i was in studio.

This is expected behavior to occur occasionally and isn’t a bug. You should always wrap MemoryStore calls in pcall to ensure your systems handle these intermittent errors without breaking.

Roblox documentation on pcall:

You can also refer to this documentation for examples and best practices:

1 Like
1 Like

Refer here for further engagements. : MemoryStoreService: InternalError: Internal Error