<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
0D54z00008VsSACCA3Okta Classic EngineIntegrationsAnswered2024-03-25T20:25:59.000Z2022-12-07T18:28:52.000Z2022-12-12T16:18:16.000Z

q0551 (q0551) asked a question.

OKTA system log api returns duplicate events and older than "since" query param specified in request

Hello folks,

I am using okta system log API for a use case at my company. I found the documentation here : https://developer.okta.com/docs/reference/api/system-log/*transferring-data-to-a-separate-system

 

When I was testing the code I had written I found that I am getting duplicate logs and out of order.

Here is the postman response. It is evident that query is returning older events than the since specified.

This is causing frequent duplicates in target portal.

 

How can I solve this issue ??

 

Image is not available

 

 


  • Paul S. (Okta, Inc.)

    Hello @q0551 (q0551)​ Thank you for reacting out to our Community!

     

    This issue has been discussed here:

    https://devforum.okta.com/t/system-log-api-polling-requests/9227/8

    Please review this thread and see if the suggestions will fix your problem as well.

     

    The Okta Community Catalysts Program is now live. Collect online badges when you participate in the Okta Help Center Questions community. Learn more here.

    Community members help others by clicking Upvote or Select as Best on responses. Try it today.

    Expand Post
    Selected as Best
  • Paul S. (Okta, Inc.)

    Hello @q0551 (q0551)​ Thank you for reacting out to our Community!

     

    This issue has been discussed here:

    https://devforum.okta.com/t/system-log-api-polling-requests/9227/8

    Please review this thread and see if the suggestions will fix your problem as well.

     

    The Okta Community Catalysts Program is now live. Collect online badges when you participate in the Okta Help Center Questions community. Learn more here.

    Community members help others by clicking Upvote or Select as Best on responses. Try it today.

    Expand Post
    Selected as Best
  • q0551 (q0551)

    @Paul S. (Okta, Inc.)​ , Thank you so much. This solved my problem completely. Persisting the next url from headers worked. I appreciate the fast response.

This question is closed.
Loading
OKTA system log api returns duplicate events and older than "since" query param specified in request