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

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": []
}

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

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

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