Nextcloud folder sharing issue

Hi,
I think there is an issues with the folder sharing in the n8n nextcloud node.

It uses the WebDAV instead of the OCS API and gives me a 501.

I can share folders by setting up a HTTP node with the OCS API endpoint ocs/v2.php/apps/files_sharing/api/v1/shares

  • HTTP Request Details: The request was a POST request with the following key details:
  • Headers: Included OCS-APIRequest: true to indicate that the OCS API was being used.
  • Body Parameters:
    • path: The folder path to be shared.
    • shareType: Defines the type of sharing (e.g., public link, user, group).
    • permissions: Defines the level of access (read-only in this case).

I am on 1.54.4

Hey @JanMrlth1,

I fixed this issue recently. The change has not yet been reviewed by the n8n team, but they said it looks promising. =)

best,

Jon

2 Likes