Basically , the type timestamptz is not what is actually required. If you change the type of created_at from timestamptz to DateTime and while handling it , if you change created_at: new Date().toISOString() to created_at: new Date().toISOString().replace('T', ' ').slice(0, -5) , It should work perfectly for you . Basically , there was mismatch of the types of created_at from your end and the required one.