Legacy Dev Forum Posts

 View Only

Sign Up

Dimension wrapUpNote is not valid in context SEGMENT

  • 1.  Dimension wrapUpNote is not valid in context SEGMENT

    Posted 06-05-2025 19:19

    RogierBosch | 2017-03-16 14:04:49 UTC | #1

    Can't explain the error. According to doc I can filter on segment, wrapupNote....

    Request: { "interval": "2017-03-15T23:00:00.000Z/2017-03-16T23:00:00.000Z", "order": "asc", "orderBy": "conversationStart", "paging": { "pageSize": 25, "pageNumber": 1 }, "segmentFilters": [ { "type": "or", "clauses": [ { "type": "or", "predicates": [ { "type": "dimension", "dimension": "wrapUpNote", "operator": "matches", "value": "DD: 111111111" } ] } ] } ] }

    Error:

    { "readyState": 4, "responseText": "{\"status\":400,\"code\":\"bad.request\",\"message\":\"Dimension wrapUpNote is not valid in context SEGMENT\",\"messageParams\":{},\"contextId\":\"7e56c774-7bd3-4df3-8950-3c0309af19e5\",\"details\":[],\"errors\":[]}", "responseJSON": { "status": 400, "code": "bad.request", "message": "Dimension wrapUpNote is not valid in context SEGMENT", "messageParams": {}, "contextId": "7e56c774-7bd3-4df3-8950-3c0309af19e5", "details": [], "errors": [] }, "status": 400, "statusText": "error" }


    tim.smith | 2017-03-16 15:18:40 UTC | #2

    The API docs aren't correct for analytics. You can only use properties that work. Some of the restrictions are documented in the articles on the right sidebar: https://developer.mypurecloud.com/api/rest/v2/analytics/index.html


    RogierBosch | 2017-03-16 16:36:38 UTC | #3

    Does this also count for the Analytics Query Builder? There I can select 'wrapupNote' as dimension. a dimension on the 'wrapupCode' does work...


    tim.smith | 2017-03-16 16:39:54 UTC | #4

    The resources in the dev tools are dynamically generated from the same source as the documentation site and the SDKs. They all contain incorrect information about the analytics APIs because the documentation is incorrect.


    system | 2017-08-28 19:33:04 UTC | #5


    This post was migrated from the old Developer Forum.

    ref: 1060