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
Yo, Dane powell I saw a mr on gitlab made last year which has something to do with trailing slash.
So probably this would have been working in the past I guess.
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: https://github.com/acquia/cli/issues/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: