# PostUsersLoginErrorResponse


[API catalog](/reference/api/) · [Publisher analytics overview](/reference/api/dvp/latest/) · [Product manual](https://docs.docker.com/docker-hub/repos/manage/trusted-content/insights-analytics/) · [OpenAPI specification](/reference/api/dvp/latest.yaml)

API version: 1.0.0



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-lived token to be used on `/v2/users/2fa-login` to complete the authentication. This field is present only if 2FA is enabled.",
      "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "detail"
  ],
  "type": "object"
}
```



