Can't upload Nextcloud anymore

Hi,

Some workflows that used to work with Nextcloud no longer work. In particular, I was uploading files from Google Drive to Nextcloud; I now encounter this error.

What is the error message (if any)?

{"context":{},"name":"NodeApiError","cause":{"message":"405 - \"<!DOCTYPE HTML PUBLIC \\\"-//IETF//DTD HTML 2.0//EN\\\">\\n<html><head>\\n<title>405 Method Not Allowed</title>\\n</head><body>\\n<h1>Method Not Allowed</h1>\\n<p>The requested method PUT is not allowed for this URL.</p>\\n<hr>\\n<address>Apache/2.4.38 (Debian) Server at clara-nxc.open-dsi.fr Port 443</address>\\n</body></html>\\n\"","name":"Error","stack":"Error: Request failed with status code 405\n    at createError (/var/www/n8n/node_modules/axios/lib/core/createError.js:16:15)\n    at settle (/var/www/n8n/node_modules/axios/lib/core/settle.js:17:12)\n    at IncomingMessage.handleStreamEnd (/var/www/n8n/node_modules/axios/lib/adapters/http.js:269:11)\n    at IncomingMessage.emit (events.js:412:35)\n    at endReadableNT (internal/streams/readable.js:1333:12)\n    at processTicksAndRejections (internal/process/task_queues.js:82:21)"},"timestamp":1664369159381,"message":"Method not allowed - please check you are using the right HTTP method","node":{"parameters":{"authentication":"accessToken","resource":"file","operation":"upload","path":"test.docx","binaryDataUpload":true,"binaryPropertyName":"data"},"id":"74981565-82cb-47ef-bb50-bdc539b4a393","name":"Nextcloud","type":"n8n-nodes-base.nextCloud","typeVersion":1,"position":[1020,340],"credentials":{"nextCloudApi":{"id":"4","name":"NextCloud CLARA"}}},"httpCode":"405","description":null}

Please share the workflow

Share the output returned by the last node

I use v. 0.193.3 of n8n.

Thanks :slight_smile:

Hey @dot,

Out of interest did anything change? It looks like NextCloud is returning an error to let us know the put is not allowed but I am not sure why.

It could be worth upgrading to the latest release, I remember fixing an issue with Nextcloud a few weeks back so it could be that.

Thank you for your reply.

It is my provider who manages the Nextcloud server. I will ask him if there are any recent changes.
I use n8n through Yunohost, I’ll wait an update of n8n then come back here.

1 Like

Any news here? Got the same problem.

Hey @Dennis_Schneider,

Are you also using Yunohost?

No, it’s self hosted on my synology

Hey @Dennis_Schneider,

In that case can you open a new topic and complete the template provided.