Hello,
I was wondering if someone could tell me what I am doing wrong. I need to unhide some buttons in my Canvas form, and I am trying to do that based on the names I have a SharePoint list called "FW ID Editors" (upper right image).
In the App --> OnStart I am assigning the users email to "varUserEmail" (upper left image). I confirmed that this is working by printing this variable in a textbox (the red circled area on bottom image).
The error that I am getting is in the bottom image, I am using lookup to get the email address from the list and show it in the text box pointed to by the green arrow (formula is LookUp('FW ID Editors', EmailText = varUserEmail, EmailText)), at this point I am just trying to verify that I can get the email address. However, I am getting an error "invalid argument type" but for the life of me I do not know why. I also tried replacing varUserEmail with the actual email address (LookUp('FW ID Editors', EmailText ="erik.ingermann@xyz.com", EmailText).
If I use the function: LookUp('FW ID Editors', TestString = "Here", TestString) it returns "Here" just like it should in the textbox so the connection is there, it has something to do with the email. If I try: LookUp('FW ID Editors', TestString = "Here", EmailText) it fails. I also tried using Search, but that did not work either.

Does anyone happen to know what is going on? I attached the image in the event it is too hard to read.
Thanks! -Erik