Hi. We're trying to use the dw cli for an azure devops release pipeline towards a dw cloud hosted site based on the tutorial on docs:
https://doc.dynamicweb.dev/documentation/tutorials/extending/workflows/setting-up-ci-cd.html
This gives me internal server errorr:
dw files -iro . / --host $(host) --apiKey $(apikey)
The api key has been generated on the site:s backoffice.
Not sure if there is some unupdated documentation and needs to be done in another way, some bug, environment issue or me that is the problem.
I've also tried to run it locally with the same issue occuring using:
dw files -iro . / --host thesite.staging.dynamicweb-cms.com --apiKey thekey
Response:
Response {
size: 0,
[Symbol(Body internals)]: {
body: PassThrough {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 6,
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: true,
[Symbol(kCapture)]: false,
[Symbol(kCallback)]: null
},
stream: PassThrough {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 6,
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: true,
[Symbol(kCapture)]: false,
[Symbol(kCallback)]: null
},
boundary: null,
disturbed: false,
error: null
},
[Symbol(Response internals)]: {
type: 'default',
url: 'https://thesite.staging.dynamicweb-cms.com/Admin/Api/Upload?createEmptyFiles=false&createMissingDirectories=true',
status: 500,
statusText: 'Internal Server Error',
headers: {
'cache-control': 'no-cache,no-store',
connection: 'close',
'content-type': 'application/problem+json; charset=utf-8',
date: 'Wed, 17 Sep 2025 09:07:43 GMT',
expires: '-1',
pragma: 'no-cache',
'strict-transport-security': 'max-age=2592000',
'transfer-encoding': 'chunked',
'x-powered-by': 'ASP.NET'
},
counter: 0,
highWaterMark: 16384
}
}
Promise { <pending> }