-
-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot upload project avatar: 'avatar is invalid' #739
Comments
I am not sure if this was working since day one. ea09dc7 |
Yo, Dane powell I saw a mr on gitlab made last year which has something to do with trailing slash. |
Looks like this was fixed in #750, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our project calls
uploadAvatar()
after creating a GitLab project. I'm pretty sure this has worked in the past, but recently stopped working, throwing anavatar is invalid
exception: acquia/cli#1377I did some debugging and it looks like a problem with this library. A curl request with the same avatar to the same API endpoint works fine:
curl --location --request PUT 'https://code.acquia.com/api/v4/projects/1092' --header 'Authorization: Bearer [snip]' --form 'avatar=@drupal_icon.png'
I suspect GitLab changed something in the expected file or PUT format that's breaking this call.
The text was updated successfully, but these errors were encountered: