Hi everyone, I'm testing the creation of event ty...
# api
t
Hi everyone, I'm testing the creation of event types and I'm struggling with getting the periodStartDate dates to be accepted. The format I'm submitting is for example is : 2023-07-06T130102.160Z Error I'm receiving : "invalid_type in 'periodStartDate': Expected date, received string; invalid_type in 'periodEndDate': Expected date, received string" Am I doing something wrong ?
UPDATE: I've also tried a different format for the datetime, with the unix since epoch like 1679773839 Not working either. invalid_type in 'periodStartDate': Expected date, received number; invalid_type in 'periodEndDate': Expected date, received number
m
@Ali
a
Hey, the format seems correct (2023-07-06T130102.160Z). 🤔
@Emrysal any ideas? Are we validating it incorrectly?
t
Thanks for taking a look at this, looking forward to your findings!
Quick follow up, any update on that date format ?
e
I figured out the problem, working on a fix for this.
t
@Emrysal thanks! Can you let me know when I can try again ?