Skip to content

Intermittent upload error: 412: The server does not meet one of the preconditions of the requester #4120

@eharris

Description

@eharris

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Intermittent problem that occurs when manually or auto-uploading files to nextcloud from ios app

Expected behaviour

The error should either not occur or should be more specific as to what the problem is and how to resolve it

Actual behaviour

When uploading files, either through automatic photos upload, or manually uploading files, there sometimes occurs errors that show "412: The server does not meet one of the preconditions of the requester".
These seem to be retried at least some of the time, and eventually seem to either be uploaded successfully or just disappear from the list of files to be uploaded.

Logs

If applicable, you can post the iOS app or server logs (removing any sensitive information).

Reasoning or why should it be changed/implemented?

Environment data

iOS version: iOS 26.4.2

Nextcloud iOS app version: 33.0.8.1

Server operating system: Debian trixie amd64

Web server: Apache

Database: MariaDB 11.8.6

PHP version: 8.4.21

Nextcloud version: 31.0.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions