
Announcements
Hi,
I'm trying to upload files to sharepoint with the use of dataUriToBinary().
I managed to get the data uri from powerapps into flow with JSON but when I try to create a file with the function it gives me this error.
I tried checking if the uri didn't come through correctly but when I paste it into notepad it doesn't seem to be cut short or missing any data
Link to testdata uri paste:
What could be going wrong here? Is this not the binary data I need to send?
Thanks for pasting the test data! This data (plain text CSV file) does not need to be encoded in order to save to SharePoint. I was able to decode the data and save it as a file in SharePoint:
I took the encoded data
Then decoded the data using the decodeBase64 function, then created a file in SharePoint:
Here is the sample output:
Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.