Word Doc becomes corrupt/not readable is created using SharePoint Send HTTP Request

Gunjan Bhure 0 Reputation points
2024-03-20T18:07:19.4833333+00:00

Using power Automate If i use the SharePoint Send HTTP Request a docx file is created in but in Corrupt state.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,716 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AllenXu-MSFT 20,366 Reputation points Microsoft Vendor
    2024-03-21T02:41:25.6+00:00

    Hi @Gunjan Bhure,

    From this thread: Create file in SPO document library using HTTP request, I found an answer which may help in this case:

    This is probably too late but may help others. Looking at the picture you are converting the base64 string to a binary, just pass the base64 string of the file contents, I have done this request in power automate just fine with the base64 string.

    By the way, Power Automate is not currently supported here on Q&A. The product group and experts for Power Automate actively monitors questions over at: https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity.

    As we are not quite familiar with Power Automate, we suggest you post a new thread in that dedicated community.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.