Azure Logic App- File system "Create File" connector failure - "404-File NotFound"

DIVIYAN S 0 Reputation points
2024-10-17T04:11:07.5733333+00:00

Goal:

Transfer messages from Azure to On-Premises file share.

After file created in the file share, another service will pick it and do another job.

Used Services:

Azure Logic App Workflow - File System Connector (Microsoft Managed API Connection)

On-Premises Data Gateway

On-Premises File Share

Issue:

Used file system Create File connector to create files in On-Premises file share. All good with connection part and were able to transfer files too.

Noticed workflow failing at some time with below error.

{ "status": 404, "message": "There is no file with name '<FileName>' located in '<FileSharePath>' on your file system. Verify the file exists or create it before trying to access it.\r\nclientRequestId: a4176324-30ea-4c0a-9fb8-deffdccafbbb", "error": { "message": "There is no file with name '<FileName>' located in '<FileSharePath>' on your file system. Verify the file exists or create it before trying to access it." }, "source": "filesystem-we.azconn-we-002.p.azurewebsites.net" }

File size less than 1 Mega Bytes.

As per the post https://stackoverflow.com/questions/59357379/azure-logic-app-cant-get-data-from-createfile-function , tried to create the file first with .tmp extension and using Rename connector renamed the file again to .xml. But no luck, still few workflow runs are failing with same 404 error in the Rename File connector

User's image

Any other workaround or properties to resolve this issue?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,154 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.