You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Group creation without --avatar option works correctly.
Path to .png is absulute path to file with correct read permissions.
The same file added using web-gui dispalys correctly.
Expected Behavior
Avatar added to group.
Actual Behavior
Message returned: Impossible to create object (400: Failed to save group {:avatar=>["file format is not supported. Please try one of the following supported formats: image/png, image/jpeg, image/gif, image/bmp, image/tiff, image/vnd.microsoft.icon"]})
Specifications
python-gitlab version: 4.2.0
API version you are using (v3/v4): v4
Gitlab server version (or gitlab.com): v16.6.2-ee
The text was updated successfully, but these errors were encountered:
Description of the problem, including code/CLI snippet
I'm trying to add avatar to group using following command:
gitlab -v group create --name "Test 1" --path "test1" --parent-id 21 --avatar "/tmp/logo_lab.png"
where:
--avatar
option works correctly.Expected Behavior
Avatar added to group.
Actual Behavior
Message returned:
Impossible to create object (400: Failed to save group {:avatar=>["file format is not supported. Please try one of the following supported formats: image/png, image/jpeg, image/gif, image/bmp, image/tiff, image/vnd.microsoft.icon"]})
Specifications
The text was updated successfully, but these errors were encountered: