# PATCH /api/v2/connections/:connection\_id does not return an error when adding a 3rd party client to "enabled\_clients" list

**URL:** <https://community.auth0.com/t/patch-api-v2-connections-connection-id-does-not-return-an-error-when-adding-a-3rd-party-client-to-enabled-clients-list/7186>\
**Category:** Get Help\
**Tags:** bugs, management-api\
**Created:** [June 21, 2017, 11:31pm UTC](https://community.auth0.com/t/patch-api-v2-connections-connection-id-does-not-return-an-error-when-adding-a-3rd-party-client-to-enabled-clients-list/7186 "2017-06-21T23:31:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric.barault](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/eric.barault/32/7758_2.png) [@eric.barault](https://community.auth0.com/u/eric.barault)\
**Post date:** [June 21, 2017, 11:31pm UTC](https://community.auth0.com/t/patch-api-v2-connections-connection-id-does-not-return-an-error-when-adding-a-3rd-party-client-to-enabled-clients-list/7186/1 "2017-06-21T23:31:50Z")

</div>

When updating a connection using PATCH on `/api/v2/connections/:connection_id` to add a 3rd party client to the connection’s `enabled_clients` list, the management API returns the updated connection object featuring the new client. But when fetching again the connection using GET, the newly added client is absent.

Instead the management API should return an error when trying to add a 3rd party client to connection’s enabled clients.

A similar erroneous behavior can be observed on the management dashboard when toggling on a connection for a 3rd party client.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [June 22, 2017, 11:29pm UTC](https://community.auth0.com/t/patch-api-v2-connections-connection-id-does-not-return-an-error-when-adding-a-3rd-party-client-to-enabled-clients-list/7186/2 "2017-06-22T23:29:56Z")

</div>

I replicated the situation and this is indeed showing an inconsistent behavior. I reported this internally so it’s being tracked on our backlog, however, at this time I can’t provide you with a definitive timeline for the outcome of this report. We’ll let you know when we have more information.

---

<div class="post-metadata">

**Author:** ![eric.barault](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/eric.barault/32/7758_2.png) [@eric.barault](https://community.auth0.com/u/eric.barault)\
**Post date:** [June 22, 2017, 11:31pm UTC](https://community.auth0.com/t/patch-api-v2-connections-connection-id-does-not-return-an-error-when-adding-a-3rd-party-client-to-enabled-clients-list/7186/3 "2017-06-22T23:31:52Z")

</div>

thank you @jmangelo, it’s not blocking for me anymore and at least the info is tracked now.  
I just meant to confirm this bug with you.

---

<div class="post-metadata">

**Author:** ![eric.barault](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/eric.barault/32/7758_2.png) [@eric.barault](https://community.auth0.com/u/eric.barault)\
**Post date:** [June 22, 2017, 11:31pm UTC](https://community.auth0.com/t/patch-api-v2-connections-connection-id-does-not-return-an-error-when-adding-a-3rd-party-client-to-enabled-clients-list/7186/4 "2017-06-22T23:31:52Z")

</div>

thank you @jmangelo, it’s not blocking for me anymore and at least the info is tracked now.  
I just meant to confirm this bug with you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:54am UTC](https://community.auth0.com/t/patch-api-v2-connections-connection-id-does-not-return-an-error-when-adding-a-3rd-party-client-to-enabled-clients-list/7186/5 "2018-03-02T05:54:50Z")

</div>


