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