Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Event time format is invalid

Updated on July 5, 2022

During the processing of a data flow work item that contains an event strategy, the following error is displayed: PropertyValueInvalid. TIME cannot cast the value (some string instead of date) to Date.


This error occurs when all of the following conditions apply:

  • The Event timestamp property of the Real-Time Data shape is configured to use the event time instead of the system time.
  • The incoming event JSON record contains a string that does not match the Date format property that is configured for the event time.


  1. Perform one of the following actions to eliminate this error:
    • Configure the Date format property in the Real-Time Shape in the event strategy to match the format of the incoming event records.
    • Configure the data set that is the source of your events to insert the time in a format that matches the Date format property in the Real-Time Data shape in the event strategy.

      The default date format of Pega Platform is YYYYMMDD'T'HHmmss.SSS.

    Date format property in the Real-Time Data shape
    The date format is set to the default value.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us