# Failed Exchange error due to incorrect user\_id

**URL:** <https://community.auth0.com/t/failed-exchange-error-due-to-incorrect-user-id/176196>\
**Category:** Get Help\
**Tags:** account-linking, user-management\
**Created:** [January 30, 2025, 8:28am UTC](https://community.auth0.com/t/failed-exchange-error-due-to-incorrect-user-id/176196 "2025-01-30T08:28:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [January 30, 2025, 5:14pm UTC](https://community.auth0.com/t/failed-exchange-error-due-to-incorrect-user-id/176196/3 "2025-01-30T17:14:43Z")

</div>

Hi @Navprabhat

Welcome back to the Auth0 Community!

Unfortunately, as mentioned in this [community post](https://community.auth0.com/t/auth0-linking-users-with-organizations/97222) with a similar issue to yours, Auth0 does not support account linking with organizations at this time, however there is a backlog item but there is no ETA on when the feature will be implemented.

As a work around for your implementation, you can attempt to link the accounts prior to having any of them being part of an organization or you can add the new user to the organization first then attempt account linking.

Regarding the `setPrimaryUser()`, you can review this [Knowledge Article](https://community.auth0.com/t/error-organizations-is-not-supported-together-with-primary-user-modifications-in-rules/127321) on the matter which advises you to se the **Organization Login Flow** for the application to **No Prompt** since it is expected behaviour.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/5/c/5c7bf41adb2d3e580b872e9bbd944df32eceb8c6.png)

If you have any other questions on the matter, feel free to leave a reply.

Kind Regards,  
Nik

---

_[View the full topic](https://community.auth0.com/t/failed-exchange-error-due-to-incorrect-user-id/176196)._
