- Notifications
You must be signed in to change notification settings - Fork673
Closed as not planned
Description
Description of the problem, including code/CLI snippet
gitlab -c ./gitlab-cli.cfg project-merge-request get --iid 98765 --project-id 12345
with config file content being
[global]default = foossl_verify = Falsetimeout = 5api_version = 4[foo]url=https://some-project.urlprivate_token=some-token-here
results in
Attempted to initialize RESTObject with a non-dictionary value: <Response [200]>This likely indicates an incorrect or malformed server response.
Expected Behavior
Since I can successfully interact with the same server programmatically from Python (i.e. I am getting a valid server JSON response) I suspect this is a problem of the CLI.
The server response is 200 this typically indicates OK. So it will have sent some payload back.
I expect identical behaviour of package and CLI.
Actual Behavior
Specifications
- python-gitlab version: 3.15.0
- API version you are using (v3/v4): v4
- Gitlab server version (or gitlab.com): 14.9.5