Error: Request failed with status code 405
at createError (/root/.npm/_npx/a8a7eec953f1f314/node_modules/axios/lib/core/createError.js:16:15)
at settle (/root/.npm/_npx/a8a7eec953f1f314/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/root/.npm/_npx/a8a7eec953f1f314/node_modules/axios/lib/adapters/http.js:269:11)
at IncomingMessage.emit (events.js:412:35)
at endReadableNT (internal/streams/readable.js:1334:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
ERROR: Request failed with status code 405
Details
Stack
Error: Request failed with status code 405
at createError (/root/.npm/_npx/a8a7eec953f1f314/node_modules/axios/lib/core/createError.js:16:15)
at settle (/root/.npm/_npx/a8a7eec953f1f314/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/root/.npm/_npx/a8a7eec953f1f314/node_modules/axios/lib/adapters/http.js:269:11)
at IncomingMessage.emit (events.js:412:35)
at endReadableNT (internal/streams/readable.js:1334:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
The one bit that caught me out which I suspect could be your problem is the URL for Strapi, In my test environment I had Strapi running on 192.168.42.79 so my URL was “http://192.168.42.79:1337/api” could be worth making sure that you have the /api part added to your URL.