# RateLimitApiException Property Value Clarification

**URL:** <https://community.auth0.com/t/ratelimitapiexception-property-value-clarification/190139>\
**Category:** Get Help\
**Tags:** clients, management-api\
**Created:** [August 4, 2025, 5:27pm UTC](https://community.auth0.com/t/ratelimitapiexception-property-value-clarification/190139 "2025-08-04T17:27:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![monstarmike](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/monstarmike/32/59872_2.png) [@monstarmike](https://community.auth0.com/u/monstarmike)\
**Post date:** [August 4, 2025, 5:27pm UTC](https://community.auth0.com/t/ratelimitapiexception-property-value-clarification/190139/1 "2025-08-04T17:27:49Z")

</div>

We’ve been moving management of our clients and users into our own administrative application. This involves calling the management API more often. We’ve run into rate limit exceptions as one would expect when doing a bunch of automated operations in succession. We’re catching the `RateLimitApiException` exception in our .NET core web service. In the latest SDK we see two properties `RetryAfter` and `Reset` on the `RateLimit` property of the exception object. The former is a long and the latter a nullable `DateTimeOffset`. In our logs we see that `RetryAfter` is `1` and the `Reset` is `null`.

I’d like to change our code so that it will delay for an appropriate period of time before it continues making requests. It currently just waits 5 seconds. What does the value for `RetryAfter` represent? Is it seconds, milliseconds, etc? Adding a unit to the SDK documentation would be helpful. I would think that “awaiting” a `Task.Delay((int)e.RateLimit.RetryAfter * 1000)` would work if the value of `1` indicated to wait one second.

Also, why is the `Reset` value always `null`? I have not found an instance in our logs where it is not the case.

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [August 5, 2025, 1:04pm UTC](https://community.auth0.com/t/ratelimitapiexception-property-value-clarification/190139/3 "2025-08-05T13:04:22Z")

</div>

Hi @monstarmike

Welcome to the Auth0 Community!

Thank you for asking your question. I’ll contact our SDK team to gather information about these two properties and come back as soon as I have more information.

Thank you, and I appreciate your patience!  
Dawid

---

<div class="post-metadata">

**Author:** ![monstarmike](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/monstarmike/32/59872_2.png) [@monstarmike](https://community.auth0.com/u/monstarmike)\
**Post date:** [August 5, 2025, 1:32pm UTC](https://community.auth0.com/t/ratelimitapiexception-property-value-clarification/190139/4 "2025-08-05T13:32:46Z")

</div>

I found out why I was possibly seeing `null` in the `RateLimit.Reset` value: [Rate Limit header values should be case insensitive · Issue #843 · auth0/auth0.net · GitHub](https://github.com/auth0/auth0.net/issues/843) I forked the repo, made the fix, and submitted a PR.

The rate-limit value may be seconds. A Google search returned an AI result that said it was seconds but I couldn’t find that specifically mentioned in any documentation. I just wanted to be sure.

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [August 11, 2025, 12:53pm UTC](https://community.auth0.com/t/ratelimitapiexception-property-value-clarification/190139/6 "2025-08-11T12:53:02Z")

</div>

Hi @monstarmike

Thank you for the quick reply. I will ping the repository maintainers to check your PR.

Regarding the RateAfter, it’s a standard header → [Retry-After header - HTTP | MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Retry-After), and the unit for that is seconds

> Retry-After: The number of seconds the client should wait before making a new request

Thanks!  
Dawid

---

<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:** [August 25, 2025, 12:53pm UTC](https://community.auth0.com/t/ratelimitapiexception-property-value-clarification/190139/7 "2025-08-25T12:53:15Z")

</div>

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