alice-viola/dora

cp command throws error

Closed this issue · 0 comments

Some days ago I worked, now it throws this exception:

pwmcli cp glass_inspection home
Copy |░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░| 0% || copy 0/1  0MBError: Request failed with status code 404
    at createError (/snapshot/cli/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/snapshot/cli/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/snapshot/cli/node_modules/axios/lib/adapters/http.js:244:11)
    at IncomingMessage.emit (events.js:323:22)
    at endReadableNT (_stream_readable.js:1204:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
    },
  response: {
    status: 404,
    statusText: 'Not Found',
    data: '<!DOCTYPE html>\n' +
      '<html lang="en">\n' +
      '<head>\n' +
      '<meta charset="utf-8">\n' +
      '<title>Error</title>\n' +
      '</head>\n' +
      '<body>\n' +
      '<pre>Cannot POST /v1/volume/upload/pwm.davide.zanella.home/v5vAOEjyuUZU/1/1/%7B%22rootName%22%3A%22pwmzfs01%22%2C%2+
      '</body>\n' +
      '</html>\n'
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}