Skip to content

E019: HTTP status 400. Failed MOVE request: Bad Request - Nginx misconfiguration #2310

Description

@ottoosworth

Which version of floccus are you using?

5.10.2

How many bookmarks do you have, roughly?

1000 but also tested with 1

Are you using other means to sync bookmarks in parallel to floccus?

No

Sync method

WebDAV

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Brave 1.92.143 (Windows 10) and Mobile App (Android 9 - Galaxy s8) - Extension/App version 5.10.2

Which version of Nextcloud Bookmarks are you using? (if relevant)

No response

Which version of Nextcloud? (if relevant)

No response

What kind of WebDAV server are you using? (if relevant)

location /webdav {
      alias /home/wasabi9805;

      client_body_temp_path /home/wasabi9805/webdav;
      dav_methods PUT DELETE MKCOL COPY MOVE;
      dav_ext_methods PROPFIND OPTIONS;
      create_full_put_path on;

      # doesnt work with this ???
      ##dav_ext_lock zone=foo;
      ## not needed ???
          ##dav_access    user:rw group:rw all:r;

      # enable creating directories without trailing slash
      #set $x $uri$request_method;
      #if ($x ~ [^/]MKCOL$) {
      #    rewrite ^(.*)$ $1/;
      #}

      # Basic authentication setup
      auth_basic "Webdav Restricted Access";
      auth_basic_user_file    /home/wasabi9805/www/.htpasswd;

      # Deny all access unless authenticated
      satisfy all;
      allow all;  # This allows all authenticated users
      deny all;   # This denies all other users
}

Describe the Bug

Context: I keep 1 device as the primary that I make changes to and have it sync across the rest of the devices.

The extension in brave is set to " Always upload local changes and undo changes from other browsers"
On my phone the app is set to "Always undo local changes and download changes"

For the past three weeks sync has been failing to upload changes made to brave and I tried looking into it by making various changes on the browser side, I contacted my webhost and they sited "CVE-2026-27654" and made some changes I tried multiple different settings like "Allow redirects in Server URL" and "Send client credentials" and even redoing the whole setup.

Finally I switched roles of the extension and app:
The extension in brave is set to "Always undo local changes and download changes"
On my phone the app is set to "Always upload local changes and undo changes from other browsers"

For both i used the same config just switched the settings, and tried to delete a bookmark.
With this setup i was able to upload the changes on phone and it sync successfully with extension.

I tried reversing the roles again and get the same error on the extension.

At this point I'm not sure if the app has the recent changes mentioned in "#2302" or only the extension does or if it's the server that's the problem

floccus-5.10.2-2026-07-24-redacted (1).log

Expected Behavior

Setting the browser extension to "Always upload local changes" should function identically to setting the mobile app to the same rule

To Reproduce

Use Webdav with given config:
Set sync strategy to "Always upload local changes and undo changes from other browsers".
Make a local change in Brave (e.g., delete or add a bookmark).
Trigger a manual sync in the Brave extension.
Result: Sync fails with E019: HTTP status 400. Failed MOVE request: Bad Request.

Swap Roles (Control Test):
Change Brave extension strategy to "Always undo local changes"
Change Mobile App strategy to "Always upload local changes"
Make a change on the mobile app and trigger sync.
Result: Sync completes successfully both ways without errors.

Debug log provided

  • I have provided a debug log file

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status
    Triaging

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions