{“status”:“error”,“message”:“Invalid input JSON on line 1, column 60: Cannot deserialize value of type `com.google.protobuf.Descriptors$EnumDescriptor` from String \“dateTime\”: value not one of declared Enum instance names”,“correlationId”:“f237ffad-f2b1-4eea-a87e-5f7055b66208”}%
Time values are represented in ISO 8601 format in responses, but the APIs will accept either of two formats for date and time values:
ISO 8601 formatted strings: depending on the type of data, these will be one of two different formats:
For values that represent a specific date, the complete date format will be used: YYYY-MM-DD (e.g. 2020-02-29)
For values that represent a specific date and time, the complete date plus hours, minutes, seconds, and a decimal fraction of a second format will be used: YYYY-MM-DDThh:mm:ss.sTZD (e.g. 2020-02-29T03:30:17.000Z). All times are represented in UTC, so the values will always use the UTC designator “Z.”
UNIX-formatted timestamps in milliseconds: timestamp values in milliseconds, which are represented in UTC time. For example, the timestamp value 1427997766000 translates to 02 Apr 2015 18:02:46 UTC, or April 2nd, 2015, 2:02:46 PM EDT (Eastern Daylight Saving Time).
Hey Jennifer - hoping you can help. I’m having a fairly similar problem. When trying to create the datetime property, here’s the error I get. Can you help??
Hi @CMyhra I’m sorry, I don’t have enough detail to know what would cause the validation error. I recommend creating a new post in this discussion so it’s easier for others to find and help.