@atripp Thanks for the response. Seems we are using a quite old version of Proget - Version 2022.25 (Build 9). We are planning to upgrade it in a few months, but didn't think it would cause issues. We might have to wait for an upgrade to our systems to get this fixed then.
M
Posts made by matthew.crowley_4142
-
RE: pgutil: metadata set custom returning BadRequest (400): Expected application/json Content-Type
-
pgutil: metadata set custom returning BadRequest (400): Expected application/json Content-Type
Hello, I am having an issue with pgutil when trying to set custom metadata on a file in an Asset Directory.
The request I am making is:
pgutil assets metadata set custom --path=/dev/app/app1.apk --feed=Apps --key=testReleaseNotes --value="release notes value test" --api-key=XWhich for some reason returns:
Server responded with BadRequest (400): Expected application/json Content-TypeI tried using Postman to send a POST request, which works fine and is able to set custom metadata on files. It is just pgutil that appears to be throwing an error.
Is there something I am doing wrong with the pgutil request?
Thanks for the help.