Hi Jonas,
You are trying to use a date on RFC 1123 format ( https://learn.microsoft.com/en-us/dotnet/api/system.globalization.datetimeformatinfo.rfc1123pattern?view=net-8.0) and you need to use a format ISO 8601for example: ‘2023-12-05T08:49:15Z’.
The option is convert the date with logicapp expressions as an example:
@{concat(split(variables('YOURDATEVAR'),' ')[3],'-',formatDateTime(concat('2023-',split(variables('YOURDATEVAR'),' ')[2],'-01'), 'MM'),'-',split(variables('YOURDATEVAR'),' ')[1])
Luis
If the information helped address your question, please Accept the answer.