Adding an attachment throws an error

I am getting the below error while trying add attachment to the Create a ticket Action.

"The 'inputs.parameters' of workflow operation 'Create_a_ticket' of type 'OpenApiConnection' is not valid. Error details: The API operation '_flowV4TicketsPost' is missing required property 'ticket/attachments/0/AttachmentContent'."

If i remove the attachments it works fine.

After running the flow I get the below output from the attachment section

Hello! Please ensure that you configured the action properly. The attachment should be added either using separate fields for attachment's name and content:

image

...or using the following JSON object:

image

According to your screenshot, you used the property "Content" instead of the "AttachmentContent":

image