Nun habe ich WSL aufgesetzt, habe aber hier wiederrum ein Problem mit dem API-Token (habe zwei unterscheidliche angelegt). Der Befehl "mw login token" ist successful, aber "mw login status" nicht:
mw login token
Authenticating with API token
❓ Enter your mStudio API token: [secret]
┌──────────────────────────────────────────────────────────────────────────────┐
│ SUCCESS │
│ Token file saved at /home/USER/.config/mw/token │
└──────────────────────────────────────────────────────────────────────────────┘
USER@HOST:/tmp/ext-solr/Resources/Private/Solr/configsets/ext_solr_14_0_0/conf$ mw login status
┌──────────────────────────────────────────────────────────────────────────────┐
│ API CLIENT ERROR │
│ │
│ An error occurred while communicating with the API: Request failed with │
│ status code 401 │
│ │
│ Request GET v2/users/self │
│ Response 401 Unauthorized │
│ Error Type Unauthenticated │
┌──────────────────────────────────────────────────────────────────────────────┐
│ API CLIENT ERROR │
│ │
│ An error occurred while communicating with the API: Request failed with │
│ status code 401 │
│ │
│ Request GET v2/users/self │
│ Response 401 Unauthorized │
│ Error Type Unauthenticated │
│ Message unauthenticated │
│ Trace ID e0b40b1b9ff20adb │
│ │
│ { │
│ "params": { │
│ "traceId": "e0b40b1b9ff20adb" │
│ }, │
│ "message": "unauthenticated", │
│ "type": "Unauthenticated" │
│ } │
└──────────────────────────────────────────────────────────────────────────────┘
ERROR STACK TRACE
Please provide this when opening a bug report.
AxiosError: Request failed with status code 401
at settle (file:///home/USER/.nvm/versions/node/v25.9.0/lib/node_modules/@mittwald/cli/node_modules/axios/lib/core/settle.js:19:12)
at IncomingMessage.handleStreamEnd (file:///home/USER/.nvm/versions/node/v25.9.0/lib/node_modules/@mittwald/cli/node_modules/axios/lib/adapters/http.js:1029:13)
at IncomingMessage.emit (node:events:521:24)
at endReadableNT (node:internal/streams/readable:1729:12)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
at Axios.request (file:///home/USER/.nvm/versions/node/v25.9.0/lib/node_modules/@mittwald/cli/node_modules/axios/lib/core/Axios.js:46:41)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Request.execute (file:///home/USER/.nvm/versions/node/v25.9.0/lib/node_modules/@mittwald/cli/node_modules/@mittwald/api-client-commons/dist/esm/core/Request.js:14:30)
at async AsyncResource.handleLoading (file:///home/USER/.nvm/versions/node/v25.9.0/lib/node_modules/@mittwald/cli/node_modules/@mittwald/react-use-promise/dist/esm/resource/AsyncResource.js:61:35)
Hier hatte ich zwei Tokens angelegt und ausprobiert, beides Mal erst successuful, dann Status-Fehler.
Nun habe ich WSL aufgesetzt, habe aber hier wiederrum ein Problem mit dem API-Token (habe zwei unterscheidliche angelegt). Der Befehl "mw login token" ist successful, aber "mw login status" nicht:
Hier hatte ich zwei Tokens angelegt und ausprobiert, beides Mal erst successuful, dann Status-Fehler.