- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check each part of userData before you try to concatenate them and just use whichever part isn't invalid as the name.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check each part of userData before you try to concatenate them and just use whichever part isn't invalid as the name.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: getPartialUserData with invalid firstname and lastname
I understand that I must check if it is invalid. But why do that if they are mandatory fields in the Roku registration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: getPartialUserData with invalid firstname and lastname
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.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.