Create DOCX document from template returns Bad Request

Hi, I recently started using Plumsail in order to create invoices from a template.

Yesterday I managed to build your template through the provided tutorial. With that done I started adapting it.

I was doing some progress until a while ago when i kept getting Bad Requests and 400 errors. I thought I had broken my flow but turns out even my tutorial flow wont run now.

Is there any problems from the API side?

Hello @Mangoman09,

Yes, we had an issue on our side yesterday. Could you try the flow again and let me know how it works?

Best regards,
Petr Bushuev
Plumsail team

Hi @Petr,

20 mins after I wrote this I was able to get the flow running and get my custom invoice out.

Really nice plugin BTW :slight_smile:

1 Like

I'm having this same problem when going to create a PDF.

"statusCode": 400,

"headers": {

    "strict-transport-security": "max-age=31536000; includeSubDomains; preload",

    "referrer-policy": "strict-origin-when-cross-origin",

    "Timing-Allow-Origin": "*",

    "x-ms-apihub-cached-response": "true",

    "x-ms-apihub-obo": "true",

    "Date": "Thu, 03 Mar 2022 20:49:13 GMT",

    "Content-Length": "334",

    "Content-Type": "application/json"


"body": {

    "request": {

        "url": "/flow/v1/ProcessesFlow/jobs/ExecuteProcess",

        "traceId": "0HMFSF4BJJR60:000007E6"


    "error": {

        "code": "System.ArgumentException",

        "message": "Unexpected character encountered while parsing value: T. Path '', line 0, position 0.",

        "date": "2022-03-03T20:49:13.7796149Z"




Hello @Craig_Ciccone,

Please share your PDF sample and the JSON. I'll try to reproduce the issue. I tried Fill in PDF action with our PDF sample and it worked ok.

Best regards,
Plumsail team