node:internal/process/promises:246
triggerUncaughtException(err, true /* fromPromise */);
^
[AxiosError: Request failed with status code 404] {
code: 'ERR_BAD_REQUEST',
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [Function: httpAdapter],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: Infinity,
maxBodyLength: Infinity,
env: {
FormData: [Function: FormData] {
LINE_BREAK: '\r\n',
DEFAULT_CONTENT_TYPE: 'application/octet-stream'
}
},
//... trimmed for brevity
Description
When trying to use the
spo file movecommand to move file from a non-existent location, we seem to be throwing an unhandled exception.Steps to reproduce
Expected results
Humand-readable error
Actual results
Diagnostics
No response
CLI for Microsoft 365 version
Latest from main
nodejs version
v16.13.0
Operating system (environment)
macOS
Shell
zsh
cli doctor
No response
Additional Info
No response