When using the following formula
$fromMillis($toMillis("Tue, 4 Oct 2022 12:00:01 -0400", "[Fn,-3], [D] [Mn,-3] [Y0001] [H01]:[m01]:[s01] [Z0000]" ))
I see the following error
JSONata syntax error: line 2:0 at [@0,1:0='',<-1>,2:0]: mismatched input '' expecting {'(', 'true', 'false', STRING, 'null', '[', '
{', '$', '$$', '**', NUMBER, FUNCTIONID, '*', '/', '-', '%', VAR_ID, ID}
JSONata mapping error: For input string: ""
When using the following formula
$fromMillis($toMillis("Tue, 4 Oct 2022 12:00:01 -0400", "[Fn,-3], [D] [Mn,-3] [Y0001] [H01]:[m01]:[s01] [Z0000]" ))
I see the following error
JSONata syntax error: line 2:0 at [@0,1:0='',<-1>,2:0]: mismatched input '' expecting {'(', 'true', 'false', STRING, 'null', '[', '
{', '$', '$$', '**', NUMBER, FUNCTIONID, '*', '/', '-', '%', VAR_ID, ID}
JSONata mapping error: For input string: ""