kisuke
3 years agoBinge Watcher
getPartialUserData with invalid firstname and lastname
Guys, I'm calling a:
userData = store.getPartialUserData("firstname, lastname, email")
if userData <> invalid
name = userData.firstname + " " + userData.lastname
end if
and got the following error:
Type Mismatch. Operator "+" can't be applied to "Invalid" and "String".
I thought firstname and lastname were required in Roku account. Does anyone know of anything that might help?
Check each part of userData before you try to concatenate them and just use whichever part isn't invalid as the name.