# Errors on Xano Login form?

**URL:** <https://community.weweb.io/t/errors-on-xano-login-form/393>\
**Category:** Ask us anything\
**Created:** [April 10, 2022, 2:57pm UTC](https://community.weweb.io/t/errors-on-xano-login-form/393 "2022-04-10T14:57:45Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrcndrw](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@mrcndrw](https://community.weweb.io/u/mrcndrw)\
**Post date:** [April 10, 2022, 2:57pm UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/1 "2022-04-10T14:57:45Z")

</div>

Hey

Firstly. Wow! What a great tool. As a designer primarily, and coming from Figma, Sketch etc… the UI is a dream to work in. From a designer perspective I’ve yet to find a feature missing. Really impressed! 👍

Ok. My issue 😉

Have set up a User Table in Xano, setup authentication endpoints per their docs and your tuts.

Setup the endpoint refs in WeWeb, and dropped in the Xano login but just get errors when I go to test the workflow ☹

Was wondering what I’m doing wrong? 😬

Many thanks

---

<div class="post-metadata">

**Author:** ![mrcndrw](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@mrcndrw](https://community.weweb.io/u/mrcndrw)\
**Post date:** [April 10, 2022, 4:02pm UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/2 "2022-04-10T16:02:51Z")

</div>

What’s confusing to me is also the Formulas? Of course I can choose Email from the Data choices, but Password will not be an option for obvious reasons.

Really confused how to set this up correctly?

thanks

 ![CleanShot 2022-04-10 at 16.59.34@2x](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/1X/0f6377feb4cb36999314bb5ca33a59452d560aa7.jpeg)

---

<div class="post-metadata">

**Author:** ![mrcndrw](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@mrcndrw](https://community.weweb.io/u/mrcndrw)\
**Post date:** [April 10, 2022, 5:33pm UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/3 "2022-04-10T17:33:55Z")

</div>

Yeah this is the error I get when I ‘Test Action’ on the Xano Login Action…

```auto
name: "Error"
stack: "Error: Request failed with status code 400 at e.exports (https://editor-cdn.weweb.io/public/js/chunk-vendors.01684801.js:64:1241) at e.exports (https://editor-cdn.weweb.io/public/js/chunk-vendors.01684801.js:97:3898) at XMLHttpRequest.f.onreadystatechange (https://editor-cdn.weweb.io/public/js/chunk-vendors.01684801.js:257:2255) at XMLHttpRequest. (https://browser.sentry-cdn.com/5.12.1/bundle.min.js:2:15638) at XMLHttpRequest.sentryWrapped (https://browser.sentry-cdn.com/5.12.1/bundle.min.js:2:44863)"
message: "Request failed with status code 400"
isAxiosError: true
toJSON: function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}}
config
Object
request
Object
response
Object

```

---

<div class="post-metadata">

**Author:** ![kevinwasie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/kevinwasie/32/402_2.png) [@kevinwasie](https://community.weweb.io/u/kevinwasie)\
**Post date:** [April 10, 2022, 11:51pm UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/4 "2022-04-10T23:51:43Z")

</div>

Do you have your form fields connected in the workflow? Your screenshot doesnt look like you do.

It should look like this.

 ![Screen Shot 2022-04-10 at 7.50.25 PM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/1X/2debb09024fa265fe94c5cd1bd9b90a2a9b1ef8b.png)

---

<div class="post-metadata">

**Author:** ![kevinwasie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/kevinwasie/32/402_2.png) [@kevinwasie](https://community.weweb.io/u/kevinwasie)\
**Post date:** [April 11, 2022, 12:01am UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/5 "2022-04-11T00:01:15Z")

</div>

Here you go. Getting your formulas set up is step 1. Do the photo below and then we can see if anything else needs attention.

That plug icon is what you use to give WeWeb different pieces of data in different areas. For instance, if you want to dynamically set a bg color based on the time of day, you could do this by clicking the plug next to the bg color parameter for whichever element you want.

Then, use a formula in there that tells the system what color, based on what time of day.

This is also how you use dynamic content, and set other design elements based on data from the backend.

For your scenario, you need to get the Email and Password into that workflow. The plug is how you do it.

 ![Screen Shot 2022-04-10 at 7.55.51 PM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/1X/0d60c6f48be816c098df5d4768dab99d1f567f6f.jpeg)

---

<div class="post-metadata">

**Author:** ![kevinwasie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/kevinwasie/32/402_2.png) [@kevinwasie](https://community.weweb.io/u/kevinwasie)\
**Post date:** [April 11, 2022, 12:03am UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/6 "2022-04-11T00:03:30Z")

</div>

Sorry, the picture above shows email instead of password for the formula. But, you need to do it for both of them, in the respective fields. Email to email, and password to password.

---

<div class="post-metadata">

**Author:** ![mrcndrw](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@mrcndrw](https://community.weweb.io/u/mrcndrw)\
**Post date:** [April 11, 2022, 7:03am UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/7 "2022-04-11T07:03:29Z")

</div>

Hi,

Yeah did all that already. Still get those error messages.

 ![CleanShot 2022-04-11 at 08.01.15@2x](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/1X/f1a380edb29601222b5bd3ae096282d1f0328872.jpeg)

---

<div class="post-metadata">

**Author:** ![mrcndrw](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@mrcndrw](https://community.weweb.io/u/mrcndrw)\
**Post date:** [April 11, 2022, 7:06am UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/8 "2022-04-11T07:06:46Z")

</div>

![CleanShot 2022-04-11 at 08.05.50@2x](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/1X/9dd0a1fcfa5122ae17bf02309ea8c7afb3b8d3b7.jpeg)

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [April 11, 2022, 9:06am UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/9 "2022-04-11T09:06:57Z")

</div>

Hi @mrcndrw 👋

Could you share a link to your editor with me? I’ll try to sign up then login if that’s ok with you 🙂

---

<div class="post-metadata">

**Author:** ![mrcndrw](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@mrcndrw](https://community.weweb.io/u/mrcndrw)\
**Post date:** [April 11, 2022, 9:21am UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/10 "2022-04-11T09:21:40Z")

</div>

Hey Joyce,

How do I share a link? Sorry 😬

Marc

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [April 11, 2022, 9:28am UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/11 "2022-04-11T09:28:41Z")

</div>

Hey Marc, no worries!

You can copy/paste the link of your WeWeb project here in this conversation (others won’t be able to access it) or you can click on my picture to send me a private message:

 ![Screenshot 2022-04-11 at 11.26.56](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/1X/ca3baa66d3a318e8046b7e90ce6d4cde6b1d82fd.png)

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [April 12, 2022, 11:07am UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/12 "2022-04-12T11:07:46Z")

</div>

Hi Mark,

I wasn’t able to reproduce your issue but errors from the Xano plugin can be many things.

Common errors include:

- trying to sign up a user that already exists in the user base in Xano (need to login instead),
- trying to sign up a user with a password that doesn’t match Xano’s default requirements (at least 6 characters and 1 capital letter I believe),
- trying to login a user that doesn’t exist in the user base in Xano (need to signup instead).

To learn more about a specific error, you can go here when you test the action in the workflow and it fails:

 ![Screenshot 2022-04-12 at 13.03.40](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/1X/581d510f96a014016bcb93abc6735d21a5c23897.png)

Does that help?

---

<div class="post-metadata">

**Author:** ![pacifist9722](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pacifist9722](https://community.weweb.io/u/pacifist9722)\
**Post date:** [June 6, 2023, 4:43pm UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/13 "2023-06-06T16:43:48Z")

</div>

Hi @Joyce,

Is there a way to show the error message received from xano on the front end?  
I can see that the message can be accessed in the default workflow but I’m not able to access the message in the error workflow.

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [June 6, 2023, 8:48pm UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/14 "2023-06-06T20:48:00Z")

</div>

Hi @pacifist9722 👋

Yes, absolutely!

Here’s a [video that explains how to display a personalized error message](https://academy.weweb.io/lesson/build-a-proof-of-concept/manage-user-errors/) with the WeWeb Auth plugin but the same logic applies to Xano 🙂

You might want to skip ahead to 4:03 but thought I’d share the whole academy video in case you find it more helpful with the whole context.

To access the message in the error workflow, you would need to trigger the error by testing the workflow when you’re on the “Default” branch (like we show in the video). Then, you’ll be able to access the `Current error` object and pick the information you want to display:

 ![CleanShot 2023-06-06 at 22.46.58@2x](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/e/e1a5a136893c0c934351835816541c5700fede44.jpeg)

Does that help?

---

<div class="post-metadata">

**Author:** ![pacifist9722](https://avatars.discourse-cdn.com/v4/letter/p/4491bb/32.png) [@pacifist9722](https://community.weweb.io/u/pacifist9722)\
**Post date:** [June 7, 2023, 11:59am UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/15 "2023-06-07T11:59:56Z")

</div>

Got it @Joyce ,

That helps, thank you.

---

<div class="post-metadata">

**Author:** ![CedricFR73](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/cedricfr73/32/6618_2.png) [@CedricFR73](https://community.weweb.io/u/CedricFR73)\
**Post date:** [December 12, 2023, 12:29am UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/16 "2023-12-12T00:29:36Z")

</div>

Hi everybody,  
I have the same problem, I followed all the videos and all the topics on this subject, and I still get this error.  
@Joyce : I also followed your advice.

I tried with Xano-auth and also Token-based-auth and I systematically have: “missing param: field\_value” 🙄

Any idea

---

<div class="post-metadata">

**Author:** ![CedricFR73](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/cedricfr73/32/6618_2.png) [@CedricFR73](https://community.weweb.io/u/CedricFR73)\
**Post date:** [December 12, 2023, 4:55pm UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/17 "2023-12-12T16:55:16Z")

</div>

I took everything from scratch, on the Weweb side, on the Xano side and it’s good 👍

---

<div class="post-metadata">

**Author:** ![kdavis307](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/kdavis307/32/7822_2.png) [@kdavis307](https://community.weweb.io/u/kdavis307)\
**Post date:** [February 23, 2024, 12:06pm UTC](https://community.weweb.io/t/errors-on-xano-login-form/393/18 "2024-02-23T12:06:44Z")

</div>

I believe you have to run it in preview, as when I run in edit mode I get the same error but once I switch to preview enter in the information and submit goes through just fine and updates my table
