# Unexpectedly high number of success\_exchange\_client\_credentials\_grant events

**URL:** <https://community.auth0.com/t/unexpectedly-high-number-of-success-exchange-client-credentials-grant-events/197167>\
**Category:** Get Help\
**Tags:** anomaly, management-api\
**Created:** [February 10, 2026, 6:42pm UTC](https://community.auth0.com/t/unexpectedly-high-number-of-success-exchange-client-credentials-grant-events/197167 "2026-02-10T18:42:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nmatatall](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nmatatall/32/74528_2.png) [@nmatatall](https://community.auth0.com/u/nmatatall)\
**Post date:** [February 10, 2026, 6:42pm UTC](https://community.auth0.com/t/unexpectedly-high-number-of-success-exchange-client-credentials-grant-events/197167/1 "2026-02-10T18:42:00Z")

</div>

In the past week, we’ve seen 3.5M `success_exchange_client_credentials_grant`and far fewer API/API-related events.

 ![CleanShot 2026-02-10 at 08.39.38](https://global.discourse-cdn.com/auth0/original/3X/d/e/def280768de4ed321d05dbddaba9c9048b784357.png)

It doesn’t look like our code would request client credentials and then not use them, especially not at that ratio. If anything, I would expect more API events than `success_exchange_client_credentials_grant`since we frequently make multiple API calls with the same instance of our Auth0Client from the ruby SDK.

Even we add the `success_signup` and `success_change_password` (which are currently flowing through the API exclusively) we still fall far short of being roughly the same.

I suspect this is more of an issue of understanding events / flows than a software issue

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [February 13, 2026, 12:21am UTC](https://community.auth0.com/t/unexpectedly-high-number-of-success-exchange-client-credentials-grant-events/197167/3 "2026-02-13T00:21:09Z")

</div>

Hi @nmatatall

Thank you for reaching out to us!

Looking at the details provided, my opinion is that the large number of `success_exchange_client_credentials_grant` events could indicate that these likely are generated by a backend process or a worker and are not attributed to usual traffic.

The `success_api_operation` ( sapi ) events refer to the [Successful management API write event](https://auth0.com/docs/deploy-monitor/logs/log-event-type-codes#:~:text=Successful%20management%20API%20write%20event) and they are logged in the context of a `write` operation. If there are large number of token exchanges, but much fewer write events, this can indicate that your application is initializing a new `Auth0::Client` instance for every single request or operation, rather than reusing a cached token.

The Ruby SDK could be exchanging `client_id/client_secret` pairs each time for a new token, basically completing a full Client Credentials Exchange every time, instead of re-using the token which by default are valid for 24 hours.

I would recommend implementing token caching to store them for your application to reuse. Allow me to share some useful documentation that could further help:

- [Feedback on Caching JWKS for JWT Verification in Ruby](https://community.auth0.com/t/feedback-on-caching-jwks-for-jwt-verification-in-ruby/138885);
- [Caching Access Tokens and Renewing Upon Expiration](https://support.auth0.com/center/s/article/Caching-tokens).

Hope this helped!  
Gerald

---

<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:** [February 27, 2026, 12:21am UTC](https://community.auth0.com/t/unexpectedly-high-number-of-success-exchange-client-credentials-grant-events/197167/4 "2026-02-27T00:21:27Z")

</div>

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