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

Unknown DataStore error?

Asked by
Muoshuu 580 Moderation Voter
9 years ago

I am using the UpdateAsync function to save purchase history and I am getting the error 'string is not allowed in DataStore'

Key is 'userId'

Transform Function

Value returned from transform is '{ProductId:[{"Awarded":true,"Time":Time}]}' (Not literally, I've replaced ProductId and Time accordingly)

Does anybody have any idea what this error implies?


Note: I have created my own global environment, most functions (such as 'DataStore:Update()') are just proxies. You do not need to know what any other function does.

Answer this question