Skip to content

Exception: {"Message":"HTTP\/1.1 415 This resource only supports valid vCard or jCard data. #2848

Description

@Geni0815

The address book works despite the error message.
But where is the error?

Server configuration

Operating system: Synology DSM 6.0.2-8451 Update 6
Web server: Apache
Database: 5.5.52-MariaDB
PHP version: 5.6.28
Nextcloud version: 10.0.2 (stable)
Contacts version: 1.5.1
Updated from an older Nextcloud 10.0.0
Browser: Firefox 50.1.0
Operating system: Windows 10

I have in the record

Fatal webdav:

Exception: {"Message":"HTTP/1.1 415 This resource only supports valid vCard or jCard data. Parse error: This parser only supports VCARD and VCALENDAR files","Exception":"Sabre\DAV\Exception\UnsupportedMediaType","Code":0,"Trace":"#0 /volume1/web/nextcloud/3rdparty/sabre/dav/lib/CardDAV/Plugin.php(315): Sabre\CardDAV\Plugin->validateVCard('BEGIN:VLIST\r\nPR...', false)\n#1 [internal function]: Sabre\CardDAV\Plugin->beforeCreateFile('addressbooks/us...', 'BEGIN:VLIST\r\nPR...', Object(OCA\DAV\CardDAV\AddressBook), false)\n#2 /volume1/web/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#3 /volume1/web/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(1034): Sabre\Event\EventEmitter->emit('beforeCreateFil...', Array)\n#4 /volume1/web/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(523): Sabre\DAV\Server->createFile('addressbooks/us...', Resource id #896, NULL)\n#5 [internal function]: Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#6 /volume1/web/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#7 /volume1/web/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(459): Sabre\Event\EventEmitter->emit('method:PUT', Array)\n#8 /volume1/web/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php(248): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#9 /volume1/web/nextcloud/apps/dav/lib/Server.php(184): Sabre\DAV\Server->exec()\n#10 /volume1/web/nextcloud/apps/dav/appinfo/v2/remote.php(30): OCA\DAV\Server->exec()\n#11 /volume1/web/nextcloud/remote.php(165): require_once('/volume1/web/ne...')\n#12 {main}","File":"/volume1/web/nextcloud/3rdparty/sabre/dav/lib/CardDAV/Plugin.php","Line":360,"User":"xxxxx"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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