does anyone one know how to fix a http 500 error?
f
does anyone one know how to fix a http 500 error?
r
hey @fayzul_ let's use this thread.
f
hey rp!
this was the error
r
Can i see your init function?
on the backend
f
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?
f
manually
r
alright! @KShivendu can help out with this.
k
Hey @fayzul_ , 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 ๐Ÿ˜„
f
thanks so much it did work๐Ÿ˜„
r
awesome