Attachment not downloadable via n8n node when using apps

Seatable Version: 5.2.7
n8n Seatable Node Version: v2.0.1

I have been getting errors when trying to generate download links with N8N and couldn’t understand what is happening as this occurred only on a few attachments.
After looking at the files in question I noticed that only the ones prefixed with /external-apps had an issue.
It seems that uploading files through the app builder causes this prefix but it’s not noticeable in the create download link.

The path I’m getting is /files/2025-05/Rechnung_974359905_20250509%20(1).pdf from Seatable.

Using this path as I usually do to create the download link fails

If however I prefix the asset path with /external-apps the node succeeds in generating a download link.

as a workaround I am now checking if the url contains /external-apps/files and then adjusting the path before requesting the download URL.

Cris