scm-manager / cli

Command line interface for SCM-Manager
MIT License
0 stars 2 forks source link

Windows: non-administrator terminal #7

Open LGJLI opened 1 month ago

LGJLI commented 1 month ago

Issue description

Trying to run scm-cli v.1.0.1 or 1.0.0 in windows terminal, powershell or cmd withtout administrative priviliges returns

2024/06/07 13:53:07 Failed to execute command: HTTP Error 401

Bug Report

Describe how to reproduce the bug

Run scm.exe in a non-administrative terminal.

Describe your SCM-Manager setup

N/A

Which operating system, browser and versions do you use?

Windows 10 Pro 22H2 scm-cli 1.0.1

Log of the bug

Not sure how to gather logs.

Further information like screenshots

pfeuffer commented 3 weeks ago

Hi @LGJLI ,

when (with which command) do you get this error? Could you log in to your SCM-Server with scm.exe login <server> or do you get the error here? If the login has been successful, does your user in SCM-Manager has an API Key named scm-cli-...?

Regards René

LGJLI commented 3 weeks ago

Hello René I get the error with all commands using a non-administrative cmd.exe and powershell.exe scm-cli works fine when running as administrator.