Hello everyone,
You can call me Kurnia.
I'm still a beginner with Power Automate, and recently I was assigned a project to build a cloud flow. The main purpose of this flow is to generate JSON files.
To create the JSON files, I'm using the File System connector, which is connected to an on-premises server through the On-premises Data Gateway.
Recently, I've been facing an intermittent issue during the file creation process.
When I check the Run History, the Create file action always returns Success (HTTP 200). However, when my colleague checks the server logs, there are times when the file was never actually created on the server.
To investigate the issue, I made several changes to my flow:
-
I asked the server team to create a Temporary folder to use as a checkpoint.
-
Instead of creating the file directly in the processing folder, I first create it in the Temporary folder.
-
I added the Get file content using path action to verify that the file actually exists.
-
If Get file content using path succeeds, I use the Copy file action to copy the file from the Temporary folder to the Process folder. I intentionally keep the original file in the Temporary folder for troubleshooting purposes.
-
I also added a Send email action to notify the team whether the file creation process succeeded or failed. The email body includes the file name and the target directory so we can easily identify which file was processed and where it was expected to be created.
After implementing these changes, I observed the following results:
-
Flow succeeded, the file was created, and the data was processed successfully. (Expected behavior)
-
Flow failed, and the file was not created. (Expected behavior)
-
Flow succeeded, but the file was not created on the server. Every action in the flow shows a green check mark, and the success notification email is also sent with the expected file name and directory.
-
Flow failed. The Create file action returned Success (200), but Get file content using path failed because the file could not be found.
Environment
-
Power Automate Cloud Flow
-
File System connector
-
On-premises Data Gateway version: 3000.294.7
-
The File System connector is configured to access a local drive on the server (not a network share).
-
Unfortunately, I don't have direct access to the server. I only have FTP access, so I cannot verify the Windows Event Logs or other server-side logs myself.
-
I believe the server is running Windows Server 2019, but I cannot confirm the exact version.
Based on these tests, I suspect there may be an intermittent issue between the File System connector and the On-premises Data Gateway, or possibly on the server side. However, I'm not sure where I should begin troubleshooting.
Has anyone experienced a similar issue?
Specifically, I would like to know:
-
Is it possible for the Create file action to return HTTP 200 even though the file was never created?
-
Are there any known issues with the File System connector or On-premises Data Gateway that could cause this behavior?
-
What logs or diagnostics would you recommend checking first?
Any suggestions or troubleshooting advice would be greatly appreciated.
Thank you!

Report
All responses (
Answers (