Legacy Dev Forum Posts

 View Only

Sign Up

/api/v2/analytics/users/aggregates/query status:400

  • 1.  /api/v2/analytics/users/aggregates/query status:400

    Posted 06-05-2025 18:25

    asalford | 2023-04-19 19:32:15 UTC | #1

    Good day. if this is a repost, my apologies, but I did not find a specific example for this issue. The complaint is of malformed syntax. this syntax we are using in other APIs, so i'm not quite sure where to go from here to resolve. BTW, it gives the same 400 error with just the interval string.

    API: /api/v2/analytics/users/aggregates/query

    API explorer code:

    { "timeZone": "America/Chicago", "flattenMultivaluedDimensions": true, "interval": "2023-04-12T18:00:00.000/2023-04-013T18:59:00.000" }

    error message:

    { "message": "The request could not be understood by the server due to malformed syntax.", "code": "bad.request", "status": 400, "contextId": "cc0842e3-eefc-4e3d-b1b7-61440a2a722f", "details": [], "errors": [] } ```


    tim.smith | 2023-04-19 19:41:37 UTC | #2

    Thanks for providing the correlation ID! Your interval is malformed, 013 isn't a valid day. :slight_smile:


    asalford | 2023-04-19 19:53:56 UTC | #3

    thank you. can't believe what a dumb mistake that was


    system | 2023-05-20 19:54:25 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: 19555