hey, when calling `signin` api from the supertoken...
# support-questions-legacy
k
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 @kelwintan 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
k
i see, great thanks for the confirmation and the fast response @rp_st 🙏🏼