Error: The DocumentContent field is required

Hi,

I have used this action a lot.
Now I get an error on creating a new one.
"The DocumentContent field is required."
I get file content from a SharePoint library.
I tried using "Get File Content" and "Get File Content Using Path".
Both give the same error.
Please help me with this.

Thank you,
Faramarz

Hello, @Farsami,

Please share the flow screenshots in Edit mode.

Best regards,
Petr Bushuev
Plumsail team

Hi Petr,

Thank you for looking into this

Hello, @Farsami,

So, I guess the error happens on the step when you pass the content of the document to Convert DOCX to PDF action?

image

Are you trying to pass an array there?

Could you share the error screenshot as well?

Best regards,
Petr
Plumsail team

Hi Petr,

Thank you for replying back.
As you can see I gave the file content which was returned by Fet File Content
The error code is
{
"request": {
"url": "/flow/v1/Documents/jobs/Docx2Pdf",
"traceId": "0HM8KKPD0GL31:0000048B"
},
"error": {
"code": "System.ArgumentException",
"message": "The DocumentContent field is required.",
"date": "2021-05-11T19:54:12.0192416Z"
}
}

Faramarz

I had a similar issue with a plugin on Forms recently. It had been working fine. Nothing had changed except that I hadn't logged in to it for a couple of weeks. When I came back in it had lost the connection to the plugin.

I ended up having to delete and re-add the action using the plugin.

2 Likes

Hi Petr,

The Flow was working but after 3 weeks of not using that, it gives the same error.
It seems to be the same for other users @Newstartech.
That's really frustrating.
Any suggestion?

Thank you,
Faramarz

Hello @Farsami,

I tried the action Convert DOCx to PDF but didn't get any errors. it should work ok, now, also please try to read the action to the flow and let me know if the issue persists after that.

Best regards,
Petr
Plumsail team

Hi Petr,

Generally, the Action works. my Flow worked a while but after a while, it gives an error.
It is really frustrating.
Can this issue be escalated to know what's going on. I think you can check the background log.

Thank you,
Faramarz