Share via

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.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Felix S 0 Reputation points
    2025-04-11T04:41:48.4233333+00:00

    Hi DIVIYAN S,

    i am facing the same issue did you find a solution or a workaround?

    In my opinion, the other service tries to move the file before it has been finally written, that the Logic app wants to access the file again at the end and fail.

    Best regards
    Felix


Your answer

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