Skip to content

No Local Password

URI: https://docs.ankatech.co/errors/no-local-credential
HTTP Status: 409 Conflict

When you see this

A person asked to change their own password (POST /api/v3/auth/account/password/change, operation changePassword), and their account holds no password managed by ANKASecure©: it authenticates through an external identity provider. There is no local password to prove and none to replace.

The question is asked of the person's identity, not of one tenant membership: an identity that signs in through an identity provider in this tenant but also holds a password, set through another membership, is not refused here.

This refusal is deliberately distinguishable from Invalid Password Change. The subject is always the account the access token names, so telling it apart discloses nothing about another account. It is decided before the current password is checked. No local credential is created and nothing is changed.

Common Causes

  • A person who signs in only through an identity provider asked for a password change.
  • A client offered the password change to every signed-in user instead of only to those who hold a local password.

Response Example

{
  "type": "https://docs.ankatech.co/errors/no-local-credential",
  "title": "No Local Password",
  "status": 409,
  "detail": "This account authenticates through your organization's identity provider and has no password managed by ANKASecure©. Change it with your identity provider.",
  "instance": "/api/v3/auth/account/password/change",
  "timestamp": 1763112600
}

Content-Type: application/problem+json — the response follows RFC 9457 Problem Details. The Auth API carries no correlation member in the body: correlate through the X-Correlation-Id response header. See Error Index & Overview.

How to Resolve

  1. Change the password with your organization's identity provider.
  2. To set a first password managed by ANKASecure©, use the forgot-password link (POST /api/v3/auth/account/password/forgot, operation forgotPassword).

For full schema definitions, examples, and interactive testing, see the Developer Hub Reference.