liam_putra
(William anputra)
December 21, 2023, 12:25pm
1
We are able to create new user with password on weweb +xano.
The issue is when we try to edit the user’s password for some reason the backend give us error
code: "ERROR_CODE_UNAUTHORIZED"
message: "Unsupported input"
payload: null
we set the input type to “Password” exactly the same element on sign up page.
Joyce
(K)
December 21, 2023, 6:27pm
2
Hi @liam_putra
How about on the Xano side of things? Are the inputs on the signup and update-password endpoints the same?
liam_putra
(William anputra)
December 21, 2023, 6:39pm
3
this is my xano function stack. everything works just fine when i debug on xano
Joyce
(K)
December 22, 2023, 1:28pm
4
Mmm ok. I see you posted in the Xano community as well. That’s cool because I’m not sure if the issue is coming from our side or theirs.
In any case, I recorded this video to walk you through the process. I got an error along the way so you’ll be able to see how I debugged it as well!
Does it help?
If not,ould you mind recording a short video for us?
Ideally, I’d like to see:
the user has the isAuthenticated
status in WeWeb
the workflow in WeWeb with the API call to the update-password endpoint Xano
a test of the workflow in WeWeb with the details of the Xano response
the information available in Xano’s request history
One thing I didn’t show in the video is that in WeWeb, I am using Password
inputs but that’s more a UX thing. I just checked, the API calls works with Short answer
inputs as well:
liam_putra
(William anputra)
December 23, 2023, 9:13am
5
@Joyce
its still not working. here’s a loom video to show you the bug with every information you need to know