Skip to content

Webdav docker Empty files error #438

@CountOlaf87

Description

@CountOlaf87

Using the docker webdav internxt/webdav:v1.6.0, but getting Empty files are not supported, although they are not empty files. I'm using Synology Cloudsync to push data.

I tried a manual PUT with a simple test file, and that is no issue, when trying with CloudSync, I'm getting:

Method: PUT
URL: /test/DSCN1275.JPG
Body: undefined
Headers: {"host":"x.x.x.x:3005","accept":"*/*","content-length":"0"} | service=internxt-webdav timestamp=2025-12-02T08:50:11.552Z

ERR [ERROR MIDDLEWARE] [PUT - /test/DSCN1275.JPG] Empty files are not supported
Stack: UnsupportedMediaTypeError: Empty files are not supported
    at handle (/app/dist/webdav/handlers/PUT.handler.js:22:19)
    at asyncUtilWrap (/app/node_modules/express-async-handler/index.js:3:20)
    at Layer.handleRequest (/app/node_modules/router/lib/layer.js:152:17)
    at next (/app/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/app/node_modules/router/lib/route.js:117:3)
    at handle (/app/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/app/node_modules/router/lib/layer.js:152:17)
    at /app/node_modules/router/index.js:295:15
    at param (/app/node_modules/router/index.js:600:14)
    at param (/app/node_modules/router/index.js:610:14) | service=internxt-webdav timestamp=2025-12-02T08:50:11.553Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions