does anyone one know how to fix a http 500 error?
# support-questions
s
does anyone one know how to fix a http 500 error?
r
hey @shorthair_[] let's use this thread.
s
hey rp!
this was the error
r
Can i see your init function?
on the backend
s
sure thing
r
Can I see the input to the sign in api that you are providing? Are you calling the api manually, or our pre built ui?
s
manually
r
alright! @KShivendu can help out with this.
k
Hey @shorthair_[] , I think the issue is that frontend is passing a dict instead of string for
email
and
password
Please try using:
Copy code
{
  "id": "email",
  "value": email,
}
instead of
"value": {email}
(Which is actually passing
{"value": {"email": email} }
to the backend) same goes for the
password
field. Let me know if it helps ๐Ÿ˜„
s
thanks so much it did work๐Ÿ˜„
r
awesome