All error codes

password_reset_failed

HTTP 503 The platform did not accept the password change

What happened

The platform did not accept the password change for this server. The password itself passed validation: a rejected password answers with invalid_password instead.

What to do

Retry later with a new idempotency key. Read the server first and do not assume the password did or did not change.

Retrying

The request itself is fine. Repeat it later; after a 5xx use a new idempotency key and read the resource first.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/password_reset_failed",
    "title": "The platform did not accept the password change",
    "status": 503,
    "code": "password_reset_failed",
    "request_id": "a277dcd1ca652c65"
}

Branch your code on code, never on the wording of title.