hey, when calling `signin` api from the supertoken...
# support-questions
l
hey, when calling
signin
api from the supertokens.Middleware when I got the error response
Copy code
json
{
    "status": "WRONG_CREDENTIALS_ERROR"
}
the http status code that I got is 200? is this as expected or is this a mistake from my end? using Go 1.18 and implemented it like this:
Copy code
go
//adding the supertokens middleware
app.Use(adaptor.HTTPMiddleware(supertokens.Middleware))
r
hey @LW this is expected.
We differentiate between expected errors (like this one), which yield 200 vs unexpected errors (like the db being down) which yield non 200 http codes
l
i see, great thanks for the confirmation and the fast response @rp 🙏🏼