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.
Check each part of userData before you try to concatenate them and just use whichever part isn't invalid as the name.
I understand that I must check if it is invalid. But why do that if they are mandatory fields in the Roku registration?
Good question. I can't answer that and it's rare than anyone from Roku participates here. You can try raising the issue with Partner Success, but don't be surprised if you don't get a satisfactory response there either. I find it easier to work around the many, many, many Roku flaws than to get anyone from Roku to acknowledge or fix them.