Skip to content
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

Beta Update Icon API returns invalid mime type error for valid image files. #74

Open
wcarson opened this issue Oct 25, 2024 · 0 comments

Comments

@wcarson
Copy link

wcarson commented Oct 25, 2024

Trying to use Beta.IconsAPI.SetIcon to update an application icon. The method returns an HTTP 400 error with the following body, even when the image file is a valid image (image/png):

{
  "detailCode": "400",
  "trackingId": "369bd3e94d364b62a5ff2b2dcebed5c5",
  "messages": [
    {
      "locale": "en",
      "localeOrigin": "DEFAULT",
      "text": "Image must be one of the following formats: image/png, image/jpeg."
    }
  ]
}

The image file being used can successfully be uploaded using this API via Postman (or Go using standard http library)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant