GraphQL GroupBy Fails on Custom Date Fields with Parsing and Filter Issues

Platform / Lightning Experience
Solution Scheduled

Created

Jan 7, 2025

Found in Release

Winter '25

Last Updated

Jan 8, 2025

Reference ID

W-17515335

Summary

When attempting a groupBy operation in GraphQL on custom date fields, the query fails due to the following identified


Parsing Error: The response fails to parse when attempting to process groupBy results.

Filter Issue: Using ne: null filters in the where clause does not function correctly for both custom and standard date fields.

Error Details

Error "message": "Exception while fetching data (/uiapi/aggregate/Claims_Summary__c) : Couldn't find apiElementInfo for field: Service_Provider_Assigned_Date__c",

Steps to Reproduce

  1. In a Salesforce org, create a custom field of type Date on the Contact object using Object Manager (e.g., Service_Provider_Assigned_Date).
  2. Execute a GraphQL query that includes a groupBy operation on this custom field.
  3. Observe the query failure.
  4. The issue occurs regardless of the inclusion of a where clause.

Screenshot 2025-01-07 at 7.41.34 AM.png

Workaround

Currently no workaround for this

Don't groupby custom date fields.

Reference IDW-17515335
Solution Scheduled

4 Reports

4 Reports