Closed onyx-lemur closed 2 weeks ago
Solved it myself - for anyone else having the same issue and using the same pattern, files of 0KB size will throw this error (which may be common if you are using test files). Adding any content to bring it up to 1KB or higher will solve your issue.
Describe the Bug with repro steps
Full error is:
{
"code": "ServiceProviderActionFailed",
"message": "The service provider action failed with error code 'ServiceOperationRequiredParameterMissing' and error message 'The required value for parameter 'fileContent' is missing from operation 'createFile' for the service provider-based connector named '/serviceProviders/Ftp'.'."
}
What type of Logic App Is this happening in?
Standard (Portal)
Which operating system are you using?
Windows
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
{
"type": "ServiceProvider",
"inputs": {
"parameters": {
"filePath": "@{variables('varDestPath')}@{variables('varFileName')}",
"fileContent": "@body('Get_blob_content_(V2)')"
},
"serviceProviderConfiguration": {
"connectionName": "Ftp-1",
"operationId": "createFile",
"serviceProviderId": "/serviceProviders/Ftp"
}
},
"runAfter": {
"Get_blob_content_(V2)": [
"Succeeded"
]
}
}
Screenshots or Videos
Browser
Chrome
Additional context
Workflows were running fine two weeks ago - however, since Monday last week, we have experienced a huge amount of development issues when using the Portal, particularly around connections and using Blob storage (leases not releasing for two Blob actions next to each other, for example). Restarting the WF hasn't solved any of these issues - and we periodically have hours where no WFs will load inside the Logic App.
I'm not sure what's changed since last week, but we have seen lots of disruption (not only within LAs but elsewhere too).