Hello,
I am using Upload a file or Image Dataverse Action to create a file in dataverse.
Here are the ways I've used to fill in the Content field:
{
"$content-type": "application/pdf;base64", // also tried without "base64"
"$content": "JVBERi0xLjMNCjEgMCBvYmoNClsvUERGIC9UZXh0IC9JbWFnZUIgL0ltYWdlQyAvSW1hZ2VJXQ0KZW5kb2JqDQo0IDAgb2JqDQo8PCAvTGVuZ...=" // also tried without using quotes
}
{
"$content-type": "application/pdf;base64", // also tried without "base64"
"$content": "@{base64ToBinary(JVBERi0xLjMNCjEgMCBvYmoNClsvUERGIC9UZXh0IC9JbWFnZUIgL0ltYWdlQyAvSW1hZ2VJXQ0KZW5kb2JqDQo0IDAgb2JqDQo8PCAvTGVuZ...=)}"
}
The pdf is always empty.
I've checked the base64 string in an online base64 to PDF convertor and it is correct, it produces a pdf file.
Any help would be much appreciated.