API REST AUTH Xano

Hi, everyone,
I’m currently stuck on the weweb academy lv2 tutorial,
I followed all the steps and at the API REST level I have an error 500 with Xano “variable not found” and “error branch done”.

Thank you in advance if you have any idea of the problem.

Hi @FlorianH :wave:

As per MDN, “The HyperText Transfer Protocol (HTTP) 500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.”

Can you check your Xano endpoint for variables? Does it look like this?

When you look at the Request History in Xano, what do you see?

CleanShot 2023-11-27 at 12.20.01

In the example above, I can see there was a problem on the second step of my function call because that’s where the request stopped.

1 Like

Hi Joyce,
Thanks for your reply,
I also have the error 500, but I don’t know where it comes from exactly, I have an “invalid Credentials”


“Invalid credentials” suggests that you are trying to log in with an incorrect email and/or password

1 Like

Thanks Joyce, I’ll give it a try and let you know if it works or not.

1 Like

I went back into it and the error came from the fact that I was trying to connect when the user table was missing information. :rofl:
Thanks for your help

1 Like

Haha it happens to the best of us! :smile:
Thanks for taking the time to mark the solution on the topic :slight_smile:

1 Like