REST API download file

Hello, as an m-files customer, we're developing a process to access objects using the Rest API. Accessing the objects and viewing their details has progressed successfully, but we're having some issues downloading the file. When I trigger the download link in the browser with curl, I get the error "The resource you're looking for has been removed, had its name changed, or is temporarily unavailable."

M-Files Server Server 25.3.14681.8

I saw the following hotfix published on the web, but does it concern our version?

Defect: Cannot open link in classic web
ID: 167415
Symptom: In the classic M-Files Web, when a user clicks a link to a document whose file name contains special characters, the operation fails with the error message: "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable". This is because the classic web client double-encodes escaped characters.
Solution: Fixed.

  • Alternatively, please do feel free to provide details on those requests (both the HTTP request and HTTP response for both the Postman request which works and the other which does not), and I am sure someone will try to assist.

    If you do provide those then ensure you remove anything which is confidential or could be a security concern (e.g. change the host name and replace any authentication tokens with dummy values).