web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issue with Plumsail fl...
Power Automate
Unanswered

Issue with Plumsail flow - Error message "The input is not a valid Base-64 string as it contains a non-base 64 character, ....."

(0) ShareShare
ReportReport
Posted on by

Hi,

I am using the Generate Word/PDF via Plumsail workflow (see below) and it has been working, however, I am getting the following error message which I cannot seem to resolve. Forum messages seem to indicate an issue with an expired token/licence?

 

I have checked the JSON data and it looks ok? Any assistance would be greatly appreciated. 

 

"The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters."

 

Flow: 

SteveTaylor_0-1645099683502.png

 

Error Message: 

{

    "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": "false",

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

        "Date": "Thu, 17 Feb 2022 10:50:35 GMT",

        "Content-Length": "420",

        "Content-Type": "application/json"

    },

    "body": {

        "request": {

            "url": "/flow/v1/Documents/jobs/ApplyDocxTemplate",

            "traceId": "0HMFH4AEM2BE0:000005B2"

        },

        "error": {

            "code": "Invalid format of the message",

            "message": "The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.",

            "date": "2022-02-17T10:50:35.1978738Z"

        }

    }

}

SteveTaylor_1-1645099711016.png

 

Many thanks,

 

Steve

 

Categories:
I have the same question (0)
  • acox Profile Picture
    95 on at

    Hi @SteveTaylor,

     

    Might be a little late to respond, but if you haven't yet managed to solve the problem, please try my solution.

     

    Using the "Create DOCX document from template" action implies using a certain file that will act as a template to generate your document from. The template must be applied to the "Template file" field. In your case, you inserted the form's ID instead of a file into this field, which ultimately caused the error.

     

    There are two ways to fix this:

    1. Create a DOCX document template and configure your flow according to this article. You may also find the following article useful: Word DOCX templates — Plumsail Documents
    2. Create a Plumsail Documents process and bind your form to it. 

     

    Additional information: Generate PDF from Plumsail Form — Public web forms

     

    Hope this helps! 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 142 Super User 2026 Season 2

Last 30 days Overall leaderboard