Skip to main content
Solved

SAFE.DOCUMENTPDF.DOCUMENTPDF writer Permission issue

  • September 9, 2026
  • 3 replies
  • 39 views

navid.fotovaty
Contributor
Forum|alt.badge.img+4

Hi everyone, 

I am having the strangest issue with FME Flow. 

I have a Form that process some data and then creates a pdf file. It works just fine locally with a UNC path. 

My issue is Flow, when I publish it, i get a permission denied, but the strange thing is it has no issue writing .txt file to that folder and to make it even more strange, it worked correctly two times out of the 50 tries I did changing things. 

I have even tried adding this UNC path as a resource in Flow and same result. 

Has anyone had such issues before? Any suggestions? 

Best answer by navid.fotovaty

If anyone come across this, the solution that I found was to remove the FME service user that had the write permission on this folder and readd it. I can’t tell why that fixed the problem, but my flow is working fine now. I will update the post if anything changes later on. 

3 replies

redgeographics
VIP
Forum|alt.badge.img+63

One strange thing I have noticed with the old PDF writer (and to be honest never tried with the new Docuement PDF writer) is that it could not write to an existing file if that was opened somewhere or had just been closed. It seemed to take a few seconds for the file lock to be released or something.

I’m not saying that that is the cause here, but it’s worth a try.


navid.fotovaty
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • September 10, 2026

One strange thing I have noticed with the old PDF writer (and to be honest never tried with the new Docuement PDF writer) is that it could not write to an existing file if that was opened somewhere or had just been closed. It seemed to take a few seconds for the file lock to be released or something.

I’m not saying that that is the cause here, but it’s worth a try.

This would be a brand new file, since the file name carries the date of the today. But that is good catch. Thank you. 


navid.fotovaty
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • Best Answer
  • September 10, 2026

If anyone come across this, the solution that I found was to remove the FME service user that had the write permission on this folder and readd it. I can’t tell why that fixed the problem, but my flow is working fine now. I will update the post if anything changes later on.