Skip to content

HTTP error code 412 when trying to add/update a contact #697

@Oktopuce

Description

@Oktopuce

Hi,

Steps to reproduce

  1. Click on "New contact"
  2. Set the name
  3. Set another field

Expected behaviour

All fields for contact must be automatically saved when they are filled.

Actual behaviour

The first field is saved (so far so good) but other fields are not (HTTP error code 412).
I inspected network requests and have seen that for the second and next call to .vcf, the content is encoding with gzip (have a look at screen capture).
It works well on another server so I think it depends on the server configuration but don't know how to solve it.

OwnCloud - Response 204
OwnCloud - Response 412

Server configuration

Operating system:
Linux

Web server:

Database:
MySQL 5.5

PHP version:
7.2

ownCloud version: (see ownCloud admin page)
v10.4.1

Contacts version: (see ownCloud apps page)
1.5.5

Updated from an older ownCloud or fresh install:
Fresh install

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.
No errors have been found.

**
**Are you using external storage, if yes which one:** local/smb/sftp/...
No
**Are you using encryption:** yes/no
Yes
**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...
No

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