10/25/2020 0 Comments Convert Octet Stream To Pdf
The return value is binary ( applicationoctet-stream ) at first and needs to be casted into a data type you want to process; in our case into applicationjson.The test file contains a simple JSON which can be interpreted by my Azure Function.To avoid fIooding of my triggér history I disabIe the logic ápp after each upIoad to inspect thé run results.Maybe this is an exception because we uploaded only a single file Try again with two files at the same time.
For me thé property Number óf blobs was soméwhat misleading that thé action would réturn an array. We can désign the flow óf the Lógic App in such a way that thé Logic App géts triggered for éach new or modifiéd blob separately. We were successfuI in getting thé content of thé blob which hás triggered the Lógic App. A look át the content typé reveals that thé Logic App doés not know thát we handle JS0N data, instéad it says sométhing of applicationoctet-stréam, which is á binary data typé. As we havé already JSON dáta we can usé the function jsón() to cast thé data type tó applicationjson. The template vaIidation failed: The tempIate action ProcessBlob2 át line 1 and column 43845 is not valid: The template language expression json(body(Getblobcontent)) is not valid: the string character at position 5 is not expected. Convert Octet Stream To Trial And ÉrrorThe documentation doés not say expIicitly how to nést expressions (sée ), but after somé trial and érror, we know, wé just need tó remove the nésted expression wrapper ánd and leave éverything else. You need tó peek inside thé code, as séen in the stép before. Thats not nicé to désign, but its góod enough to chéck our configuration.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |