# invalid_credentials

HTTP 401 · End-user sign-in (SPEC §7)

That email and password don't match. Check them, or reset the password.

## Does retrying help?

Not as it is. Change the request as the message says, then send it again.

## The response

Every Flatstack error has this shape. `details`, when present, says more about this case.

```json
{
  "error": {
    "code": "invalid_credentials",
    "message": "That email and password don't match. Check them, or reset the password.",
    "docsUrl": "https://flatstack.dev/docs/errors/invalid_credentials"
  }
}
```

[All error codes](/docs/errors)