Forum Discussion

Mederic's avatar
Mederic
Icon for Post Patron rankPost Patron
9 months ago
Solved

Error message : Expression.Error

Hello everyone, I am trying to reproduce the exercise in this link, but the query returns an error message. https://we.tl/t-RdkGCHe1LK  Can you help me correct the error? Thank you in advance. B...
  • ronrsnfld's avatar
    ronrsnfld
    9 months ago

    The result I got without the error message I obtained by editing the _ValidateAge function. I pointed out the problem with what you sent me in a previous message. However, the result is not correct as none of the emails were properly validated. You will have to correct that.

     

    The _ValidateAge method that I used is was to just check the ages to ensure that they are a integer.

    (data as nullable text) as logical =>
        let
            isValid = (try Int64.From(data))[HasError]=false
        in
            isValid

     

    But you are going to have to edit your _ValidateEmail function as it is returning an incorrect result