Forum Discussion
DataSource.Error: Web.Contents failed to get contents from (400): Bad Request
- 5 years ago
I fixed my problem ๐
I end my flow with HTTP that sends it to a new flow where i create my file on onedrive
This is what my flows look like:
To create the CSV:
To save it too onedrive:
When i use fiddler i get {"error":{"code":"InvalidRequestContent","message":"The input body for trigger 'manual' of type 'Request' must be of type JSON, but was of type 'application/octet-stream'."}} as an error back
Hi WalterNC ,
sorry, but I don't have more ideas here.
If you used the code provided with the "Json.FromValue" as the last function before putting it into the body, there must be something wrong with that function, actually.
But I don't have time currently to dig deeper into it, unfortunately.
- WalterNC5 years agoRegular Visitor
At thebiccountant they add outputs('Compose')['BinaryContent'] to the Create CSV but im not allowed to add ['BinaryContent'].
I get the error The template language expression 'outputs('compose')['BinaryContent']' cannot be evaluated because property 'BinaryContent' cannot be selected
Might this be the problem?
- WalterNC5 years agoRegular Visitor
I fixed my problem ๐
I end my flow with HTTP that sends it to a new flow where i create my file on onedrive
This is what my flows look like:
To create the CSV:
To save it too onedrive: