# Error 422 when adding friend

**URL:** <https://forums.plex.tv/t/error-422-when-adding-friend/893506>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [October 26, 2024, 11:34am UTC](https://forums.plex.tv/t/error-422-when-adding-friend/893506 "2024-10-26T11:34:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![usermame1](https://avatars.discourse-cdn.com/v4/letter/u/54ee81/32.png) [@usermame1](https://forums.plex.tv/u/usermame1)\
**Post date:** [October 26, 2024, 11:34am UTC](https://forums.plex.tv/t/error-422-when-adding-friend/893506/1 "2024-10-26T11:34:52Z")

</div>

Hi. I have a problem adding friend. Error 422. I know there’s a 99 friends limit but I’m below that number and still get this error.

Server Version#: 1.41.0.8994

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [October 26, 2024, 12:55pm UTC](https://forums.plex.tv/t/error-422-when-adding-friend/893506/2 "2024-10-26T12:55:13Z")

</div>

> [@usermame1](#):
>
> but I’m below that number

No, you’re not.

---

<div class="post-metadata">

**Author:** ![usermame1](https://avatars.discourse-cdn.com/v4/letter/u/54ee81/32.png) [@usermame1](https://forums.plex.tv/u/usermame1)\
**Post date:** [October 27, 2024, 6:48am UTC](https://forums.plex.tv/t/error-422-when-adding-friend/893506/5 "2024-10-27T06:48:35Z")

</div>

I have 87 friends but when I access [https://plex.tv/api/users/?X-Plex-Token=xxxxxxxxxxxxx](https://plex.tv/api/users/?X-Plex-Token=xxxxxxxxxxxxx) I can see my current friends and a few friends I removed months ago. Why do I still see removed friends?

Found another topic with the same problem:

> [@Removed access to my PMS for some users but they still show in XML file?](https://forums.plex.tv/t/removed-access-to-my-pms-for-some-users-but-they-still-show-in-xml-file/871636/9):
>
> I’m told your apps must be hitting a legacy/old endpoint for how sharing used to work with friends adn may be picked up fols listed as friends. They do not actually have access to your server. In any case I can remove everyone from your legacy friends list unless you can give me specific ones.

So can I remove these friends via command line or something?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 25, 2025, 6:48am UTC](https://forums.plex.tv/t/error-422-when-adding-friend/893506/6 "2025-01-25T06:48:44Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
