Legacy Dev Forum Posts

 View Only

Sign Up

Server-side error from conversation aggregates query

  • 1.  Server-side error from conversation aggregates query

    Posted 06-05-2025 18:12

    dwood | 2017-07-19 09:16:41 UTC | #1

    Since Saturday morning (2017-07-15 10:55:55.045 +01:00) we have been receiving 500 server errors for some requests to /api/v2/analytics/conversations/aggregates/query (on api.purecloud.ie)

    The following request returns a 500 internal server error (NB. This request was generated by the latest version of the Java SDK):

    {
        "interval": "2017-03-03T08:30:00/2017-03-03T08:59:59",
        "granularity": null,
        "timeZone": null,
        "groupBy": ["userId"],
        "filter": null,
        "metrics": [],
        "flattenMultivaluedDimensions": null,
        "views": []
    }

    Modifying the "groupBy" to ["queueId"] returns an expected response.

    Modifying the "interval" to a later period (e.g. "interval":"2017-03-03T09:00:00/2017-03-03T09:39:59") with the original "groupBy": ["userId"], returns the expected response.

    Modifying the "interval" to an earlier period (where there has been no activity), also returns the expected response.

    It seems that there is something about the underlying data for some intervals which does not allow the the request for "groupBy": ["userId"] to be fulfilled.

    From the API documentation, this seems to be a valid request.


    tim.smith | 2017-07-19 16:33:04 UTC | #2

    Please open a ticket with PureCloud Support to report and investigate any server-side errors (5xx responses).


    system | 2017-08-19 16:33:31 UTC | #3

    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: 1563