How to use Magic Link for resetting password
I tried setting up and testing my endpoints for resetting a user's password through with Magic Link. I am running into this error though:
The 'user' table the function was set at wasn't wasn't the correct table so I switched it to my 'Users' table, keeping everything the same except where the data is being queried:
I have magic_link set up in this table as well:
Where could the problem I'm having be?
Best Answer
-
field value is a list, probably your user query is set to list instead of single.
Answers
-
Hi. Can you check in the debugger tab where exactly the error appears, on which step. Xano does not like that you are trying to use a text type filter on data that is not scalar but most probably a list.
So I would check where exactly the error appears and examine how the filter is build and what data is involved there. Maybe you are getting more than one user in a query? -
This is what is given. Where I look to for issues?
-
It does not seem to go past the first part of the function stack, so steps 2 and 3 are not ran
-
After going into the function, I am given the same error, so it is most likely this first step:
-
It seems that the error is in the step 9, edit record users. Can you show what is inside there?
-
This is what it given:
It finds the user correctly it seems. Not sure what is the issue
-
Yeah that fixed it. Thank you so much!
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback