# PostUsersLoginErrorResponse


[API catalog](/reference/api/) · [Docker Hub overview](/reference/api/hub/latest/) · [Product manual](https://docs.docker.com/docker-hub/) · [OpenAPI specification](/reference/api/hub/latest.yaml)

API version: 2-beta



Schema constraints and annotations:

```json
{
  "description": "failed user login response or second factor required",
  "examples": [
    {
      "detail": "Incorrect authentication credentials"
    }
  ],
  "properties": {
    "detail": {
      "description": "Description of the error.",
      "example": "Incorrect authentication credentials",
      "type": "string"
    },
    "login_2fa_token": {
      "description": "Short time lived token to be used on `/v2/users/2fa-login` to complete the authentication. This field is present only if 2FA is enabled.\n",
      "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "detail"
  ],
  "type": "object"
}
```



