# The same relationship cannot be recorded twice

26 November 2026 · Changed · Relationships

POST /vaults/{vault}/contacts/{contact}/relationships answers 422 on other_contact when the two people already hold a current relationship of that type the same way round. A symmetric type has only one way round, so linking B to A after A to B is refused. A relationship that ended does not count. PUT /vaults/{vault}/contacts/{contact}/relationships/{relationship} answers 422 on relationship_type when a change of type, roles or status would leave the two people with two current relationships of the same type. Correcting only the dates of a link recorded twice before this change is still accepted.

## Why it changed

Two rows for one friendship listed it twice on both contact pages.

## Changes

- `other_contact` (Changed): `POST /api/v1/vaults/{vault}/contacts/{contact}/relationships`
- `relationship_type` (Changed): `PUT /api/v1/vaults/{vault}/contacts/{contact}/relationships/{relationship}`

## In the same release

- Added: [The Monica mobile apps sign in through OAuth and reach the API](https://monica.kentandrian.com/docs/api/changelog/mobile-app-sign-in.md)
- Changed: [OAuth access tokens last an hour](https://monica.kentandrian.com/docs/api/changelog/assistant-tokens-last-an-hour.md)
- Changed: [Deleting several contacts skips an id it does not find and lists it](https://monica.kentandrian.com/docs/api/changelog/contacts-deletion-reports-missing.md)
