Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Data Store returning 'Internal Server Error'?

Asked by
Dummiez 360 Moderation Voter
9 years ago

Whenever I try to input this exact string value, it returns this:

15:55:10.252 - Internal Server Error
15:55:10.256 - Script 'ServerScriptService.DataStore', Line 5
15:55:10.273 - Stack End

The code:

local ds = game:GetService("DataStoreService"):GetDataStore("DataStore1")
game.Players.PlayerRemoving:connect(function(player)
local value = "j,U<qKt:O~JL1=ou1/U98-joabfMig"

ds:SetAsync(player.userId,value)
end)

Not sure whether all of the characters in 'value' are allowed in Data Store?

1 answer

Log in to vote
1
Answered by 9 years ago

I believe your value is not valid. Try not using special characters.

Ad

Answer this question