Results 1 to 5 of 5

Thread: Wrong clan's badge when using white background

  1. #1

    Wrong clan's badge when using white background

    I recently noticed that when a clan has picked the background option #13(white), the API returns a file name that seems to not exist and the request gets redirected to a default level 1 badge.


    For instance, clan #92CL29Y8 has as its badge the following reply from API:
    Code:
    
      "badgeUrls": {
        "small": "https://api-assets.clashofclans.com/badges/70/wl8svXgXkQHARKftrgZRQuRmIWJNZe9rbjXuACpMQX0.png",
        "large": "https://api-assets.clashofclans.com/badges/512/wl8svXgXkQHARKftrgZRQuRmIWJNZe9rbjXuACpMQX0.png",
        "medium": "https://api-assets.clashofclans.com/badges/200/wl8svXgXkQHARKftrgZRQuRmIWJNZe9rbjXuACpMQX0.png"
      },
    Same goes for clan #8YG0CQRY
    Code:
      "badgeUrls": {
        "small": "https://api-assets.clashofclans.com/badges/70/yf08OKgia-N05YI7hDHw0vOWrUzMwzS3kZH4iSbjE2g.png",
        "large": "https://api-assets.clashofclans.com/badges/512/yf08OKgia-N05YI7hDHw0vOWrUzMwzS3kZH4iSbjE2g.png",
        "medium": "https://api-assets.clashofclans.com/badges/200/yf08OKgia-N05YI7hDHw0vOWrUzMwzS3kZH4iSbjE2g.png"
      },

    However, whenever I try to access any of those images, I always get redirected with a HTTP 301 to another location that is: http://supercell-game-api-assets.s3-website-us-east-1.amazonaws.com/badges/70/H39b_-WLZGtZVWQ0hqTkE-Tn2AaQnQWy_Iz4yBlvL0M.png

    Here is the response:
    Code:
    HTTP/1.1 301 Moved Permanently
    Content-Length: 0
    Date: Sun, 28 Jan 2018 08:52:39 GMT
    Location: http://supercell-game-api-assets.s3-website-us-east-1.amazonaws.com/badges/70/H39b_-WLZGtZVWQ0hqTkE-Tn2AaQnQWy_Iz4yBlvL0M.png
    Server: AmazonS3
    Age: 21513
    X-Cache: Hit from cloudfront
    Via: 1.1 92f892199bcce7a13a5283e1376fa0e8.cloudfront.net (CloudFront)
    X-Amz-Cf-Id: gEemnUuRqsHcXbQzKURNKAQ0gVQk0Cl_qOd6RjwcYPrVjupBCUYWww==

    Thanks in advance

    -
    MM

  2. #2
    Forum Veteran Clash12344321's Avatar
    Join Date
    Nov 2017
    Location
    Singapore, I love SG!
    Posts
    1,892
    Same thing has happened to our clan too.

  3. #3
    Any news regarding this issue? Maybe the latest update could be the push needed to look at the API?

  4. #4
    Junior Member stevenfail's Avatar
    Join Date
    Aug 2016
    Location
    Tennessee, USA
    Posts
    65
    Still seems to be happening, we're running into this as well.

  5. #5
    New Bloke/Chick Poldas's Avatar
    Join Date
    May 2016
    Location
    Poland
    Posts
    45

    Angry

    SuperCell will you going to fix it or do you think this it's just so cool feature that you return totally mismatched clan badge with size of 512 pixels when the badge is set to have a white background?
    Last edited by Poldas; August 5th, 2018 at 11:32 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •