#profile_key must be a string but it is- (ProfileService)
1 messages · Page 1 of 1 (latest)
PlayerStore.StartSessionAsync(tostring("Player_"..player.UserId)
thats what the fixed agurment looks like
ServerScriptService.Libraries.ProfileStore:1369: [ProfileStore]: profile_key must be a string [table: 0x86fe079ba1c755ce]
error message with key its finding
I think the error show somewhere else?
It doesnt matter if you saved it in player.UserID, and the tostring() is kinda pointless, since you already defined it as string if you use "Player_"...
wdym the error show somewhere else
the error keeps going back to the same startsessionaysnc line
** You are now Level 4! **
Dunno, the error is cleary saying, youre using a table, instead string.
Your 1 line of code looks pretty fine to me.
yeah is so werid
the line is fixed and I am using a string but it keeps saying im using a table
thats why I think I saved a invaild key and its trying to get it or something
I don't think so, i assume youre in Studio, im pretty sure they will not be saved, after closing test game.
ok imma check to so if any data was actually stored
you are using period not colon
playerstore should be an object
you arent using a method
👍