When I make a request to create a address book collection on the URL that is already mapped to an existing address book resource Error 400 "Request Failed" is returned As I can understand, according to RFC https://datatracker.ietf.org/doc/html/rfc4918#section-9.3.1 error 405 should be returned instead. Looks like a bug.
Example of request: MKCOL https://../SOGo/dav/../Contacts/AddressBook1/ <?xml version='1.0'?> <D:mkcol xmlns:D="DAV:" xmlns:A="urn:ietf:params:xml:ns:carddav"> <D:set> <D:prop> <D:resourcetype> <D:collection/> <A:addressbook/> </D:resourcetype> </D:prop> </D:set> </D:mkcol> Example of response: HTTP/1.1 400 Request Failed Server: nginx/1.18.0 Date: Mon, 01 Aug 2022 07:35:26 GMT Content-Type: application/xml; charset="utf-8" Content-Length: 107 Connection: keep-alive <?xml version="1.0" encoding="utf-8"?> <D:error xmlns:D="DAV">The new folder could not be created</D:error> -- users@sogo.nu https://inverse.ca/sogo/lists