<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000A4gAuoCQEOkta Classic EngineAPI Access ManagementAnswered2024-04-30T17:53:53.000Z2024-04-10T12:52:04.000Z2024-04-30T17:53:53.000Z
Getting null values in API response headers

Hello Okta Team,

 

We are getting null values in API response for below headers -

  • x-rate-limit-remaining
  • x-rate-limit-reset
  • x-rate-limit-limit

Can anyone help us understand what is causing this issue and how to handle it.

 

Thanks,

Tanuja


  • TimL.58332 (Workflows)

    @User17127257336401182271 (Customer)​ - Not seeing an issue with those headers on the Users endpoint on a GET request. Possibly provide more detail?

     

     "x-rate-limit-reset": "1712767629",

     "x-rate-limit-remaining": "5999",

    "x-rate-limit-limit": "6000",

     

    • Which endpoint?
    • Which method?
    • Is the behavior happening every time or just occasionally?
    Expand Post
    Selected as Best
  • TimL.58332 (Workflows)

    @User17127257336401182271 (Customer)​ - Not seeing an issue with those headers on the Users endpoint on a GET request. Possibly provide more detail?

     

     "x-rate-limit-reset": "1712767629",

     "x-rate-limit-remaining": "5999",

    "x-rate-limit-limit": "6000",

     

    • Which endpoint?
    • Which method?
    • Is the behavior happening every time or just occasionally?
    Expand Post
    Selected as Best
  • @TimL.58332 (Workflows)​ 

    This issue has happened occasionally while fetching data from Okta.

    For one of the user, we tried to hit GET endpoint to get role details, but in the response, x-rate-limit-remaining, x-rate-limit-reset and x-rate-limit-limit values were missing in the header.

    As we are expecting these values to be present in header, but we did not received these values, we are getting NullPointerException at our end.

    Could you please confirm, can we expect if these three values will always be present in the header? and when we don't receive these values in header, which default values we should consider?

    Expand Post
This question is closed.
Loading
Getting null values in API response headers