Working with a third party REST API, after making a request to the API, it returns the document content in base64 format. How do I convert it to a docx/pdf format using Power Automate?
Just the raw Base64 not the Base64ToString. Fantastic!
This solution works for SharePoint / OneDrive, but not for "File System - Create File". We get "Forbidden" 403 when trying to create the file.
Likewise. I'm running an HTTP GET request which returns file attachment content encoded in base64 format. This returns and object similar to the OP's post above:
{
"content-type": "application/pdf",
"$content": "Base64String"
}
When I use this object to create a file in OneDrive, the pdf is created, but seems corrupted. I get an error message stating: "Error:Failed to load PDF document."
I had the same problem and realised your solution. But it don't works for me. Could you have an idea what the problem is? See the seperate thread here: Convert Base64 from a RestAPI JSON into a PDF - Power Platform Community (microsoft.com)
Could you tell me how convert base64 into mp3? Thank you in advanced for your time ✌️
Open free Base64 website and choose Convert application.
Click inside the file drop area to upload Base64 files or drag & drop Base64 files.
You can upload maximum 10 files for the operation.
Click on Convert button.
Download link of result files will be available instantly after conversion.
Regards,
Bretty
Use Power Automate and apply the selected answer above.
@Mira_Ghaly Can you please tell me how can we convert a pdf file to base64 in powerapps ?
Best answer I have found in days of looking through many articles. Thank you much for this.