Legacy Dev Forum Posts

 View Only

Sign Up

Value must be null when using the exists/notExists operators

  • 1.  Value must be null when using the exists/notExists operators

    Posted 06-05-2025 18:08

    Chris_Carr | 2022-08-17 18:56:55 UTC | #1

    Hello,

    I am using postanalyticsconversationsdetailsquery with the body below.

    body = { "interval": "2022-07-31T23:00:00.000Z/2022-08-30T23:00:00.000Z", "order": "asc", "orderBy": "conversationStart", "paging": { "pageSize": "100", "pageNumber": "1" }, "conversationFilters": [ { "type": "or", "predicates": [ { "type": "dimension", "dimension": "conversationEnd", "operator": "notExists", "value": null } ] } ] }

    I am receiving the following error message below

    value must be null when using the exists/notExists operators

    In the past when I had this problem using another endpoint, I basically got around it by changing null to False and it worked, however, that is not the case this time.

    Is there something else that I can do to use this endpoint via the Python SDK?

    Thank you very much!

    Chris


    Chris_Carr | 2022-08-17 22:08:44 UTC | #2

    I changed it to "value": None and it worked.


    Ebenezer_Osei | 2022-08-22 14:04:58 UTC | #3


    This post was migrated from the old Developer Forum.

    ref: 15935