Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Rate exceeded limit error

    Posted 06-05-2025 18:05

    TPSS_Development | 2018-12-20 09:09:24 UTC | #1

    I am using below code in asp.net MVC : AnalyticsQueryFilter filter = new AnalyticsQueryFilter(Type: AnalyticsQueryFilter.TypeEnum.Or, Predicates: predicates); ObservationQuery observationQuery = new ObservationQuery(Filter: filter); AnalyticsApi analyticsApi = new AnalyticsApi(); var observationDetails = analyticsApi.PostAnalyticsQueuesObservationsQuery(observationQuery);

    I add all queueid’s list into predicates and pass observationQuery object to PostAnalyticsQueuesObservationsQuery method. When i am hitting this method after every 10 seconds then it return "rate limit exceeded error."

    I need to get data as soon as possible.


    Becky_Powell | 2018-12-20 14:52:05 UTC | #2

    Hi there,

    It sounds like you'll need to wait longer than 10 seconds for your rate limit to reset. Please try reducing the frequency with which you make requests.

    More information about rate limiting here: https://developer.mypurecloud.com/api/rest/rate_limits.html

    -- Becky


    tim.smith | 2018-12-20 16:02:05 UTC | #3

    TPSS_Development, post:1, topic:4230
    I need to get data as soon as possible.

    Using the notification topic v2.analytics.queues.{id}.observations will give you this information as close to real time as possible. You'll need to have a persistent backend that can maintain the websocket connection.


    system | 2019-01-20 16:02:06 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 4230