Nextcloud credentials works, despite telling otherwise in the setup

Selfhosted Nextcloud credentials giving error, but works when tested.
Credentials giving a green OK, does not work.

When using the credentials given to me from my selfhosted Nextcloud instance, n8n gives me the error: not found

But when I test nextcloud in a workflow it actually works. I can create folders, read all files etc.

Now, heres is the other strange part.

If I actually paste a link into the credentials field that does give me a green ok, nothing actually works… I had to remove …/dav/files/… in the actual link to make it go green. But then everything fails in the actual workflows.

Information on your n8n setup

  • n8n version: 1.76.3
  • Database (default: SQLite): Default
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): LXC on Proxmox
  • Operating system: Proxmox

Hi @rosk – This could be an issue with the way we check whether the credential is correct. That check seems to expect /remote.php/webdav in the URL, but replaces that with /ocs/v1.php/cloud/capabilities (so in your case that would be https://<ip>/ocs/v1.php/cloud/capabilities). This URL is only to check whether the credentials are entered correctly.

It looks that in your original URL, it says dav not webdav. Please try it with webdav instead!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.