PricingBlog

Data Error Not Working As Desired

  • fuelmeup-1254977995962060851

    AY EYE

    1 year ago

    Hey Everyone,

    I shot a loom explaining my issues: https://www.loom.com/share/047fe5d296274bbf983bba24af323d13

    But basically, when a user signs in and the password is incorrect its still signing a user in because Toddle believes the response is successful but its not.

    The loom explains more.
  • lucasg-1254988545085538304

    Lucas G

    1 year ago

    Not all APIs send back an error message
  • You'll have to create a condition where if there's an error in the response then only show error message
  • It's not a toddle thing, it's just how their API is set up
  • fuelmeup-1254994242414317568

    AY EYE

    1 year ago

    But the pronlem @Lucas G is the on success vs on error, when it shows the error it thinks its successful when its not
  • It still send suers to dashboard even when i put wrong passord in is the main issue
  • it shouldn't continue since there was an error
  • lucasg-1254998458574569542

    Lucas G

    1 year ago

    That's what I'm saying
  • You'll have to parse the response to check if it has an error
  • It can probably be something simple like error message equals null then it's good
  • fuelmeup-1255005698354315294

    AY EYE

    1 year ago

    Hmmm
  • fuelmeup-1255015412756910142

    AY EYE

    1 year ago

    @Lucas G I guess i use a switch in this instance
  • will try
  • fuelmeup-1255046978681962506

    AY EYE

    1 year ago

    Got this working with switches and sleep nodes. Appreciate the insight @Lucas G as always