Public form to create a helpdesk ticket fails with attachment in flow

I'm following the guide to upload attachments as part of creating a Helpdesk ticket using Flow. I get the following error. I have tried wrapping the body('HTTP') in base64 also, but it still doesn't seem to work.

"attachments[0].AttachmentContent": [
"The input was not valid."

Here is my flow:


Your assistance is very much appreciated!

Hello, Harri.

Please try to compose the JSON object without quotes for the values:


I will update the article to avoid confusing users. I am sorry for the troubles you have experienced with this.

Thanks for the clarification - tested and now working :slight_smile:

1 Like