# Can't upload an icon

**URL:** <https://forum.ghost.org/t/cant-upload-an-icon/21535>\
**Category:** Developer help\
**Created:** [April 4, 2021, 7:40pm UTC](https://forum.ghost.org/t/cant-upload-an-icon/21535 "2021-04-04T19:40:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rdiezv](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/rdiezv/32/2108_2.png) [@rdiezv](https://forum.ghost.org/u/rdiezv)\
**Post date:** [April 4, 2021, 7:40pm UTC](https://forum.ghost.org/t/cant-upload-an-icon/21535/1 "2021-04-04T19:40:19Z")

</div>

I tried to upload the very first icon but I get an error. I’m sure the dimensions, size and format are OK.

 ![error](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/7/7ddd084058c193af99f9a8bdbf4b889143c6a9e9.png)

Look that Ghost respond a 422 http status.

any ideas?  
Regards. Rafa.

---

<div class="post-metadata">

**Author:** ![naz](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/naz/32/30666_2.png) [@naz](https://forum.ghost.org/u/naz)\
**Post date:** [April 5, 2021, 12:48am UTC](https://forum.ghost.org/t/cant-upload-an-icon/21535/2 "2021-04-05T00:48:50Z")

</div>

Hey @rdiezv , what’s the content of the response body for the 422 response?

---

<div class="post-metadata">

**Author:** ![rdiezv](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/rdiezv/32/2108_2.png) [@rdiezv](https://forum.ghost.org/u/rdiezv)\
**Post date:** [April 8, 2021, 5:35pm UTC](https://forum.ghost.org/t/cant-upload-an-icon/21535/3 "2021-04-08T17:35:39Z")

</div>

This:

```
{errors: [{message: "Validation error, cannot upload image.",…}]}
errors: [{message: "Validation error, cannot upload image.",…}]
0: {message: "Validation error, cannot upload image.",…}
code: null
context: "Icon must be a square .ico or .png file between 60px – 1,000px, under 100kb."
details: null
help: null
id: "8f50ec90-9890-11eb-916e-eddb63da6885"
message: "Validation error, cannot upload image."
property: null
type: "ValidationError"
```

---

<div class="post-metadata">

**Author:** ![naz](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/naz/32/30666_2.png) [@naz](https://forum.ghost.org/u/naz)\
**Post date:** [April 9, 2021, 12:09am UTC](https://forum.ghost.org/t/cant-upload-an-icon/21535/4 "2021-04-09T00:09:37Z")

</div>

Can you share the icon file you are trying to upload? I’m not sure how to help here as the error message is quite clear about something wrong either with the format or the size of the icon.

---

<div class="post-metadata">

**Author:** ![rdiezv](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/rdiezv/32/2108_2.png) [@rdiezv](https://forum.ghost.org/u/rdiezv)\
**Post date:** [April 10, 2021, 9:29am UTC](https://forum.ghost.org/t/cant-upload-an-icon/21535/5 "2021-04-10T09:29:11Z")

</div>

It’s a standard PNG. I tried with & without transparent background and different dimensions.

this is it: [https://www.rafaeldiez.com/content/images/2021/04/blog-rafaeldiez-1-removebg-preview-1.png](https://www.rafaeldiez.com/content/images/2021/04/blog-rafaeldiez-1-removebg-preview-1.png)

---

<div class="post-metadata">

**Author:** ![naz](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/naz/32/30666_2.png) [@naz](https://forum.ghost.org/u/naz)\
**Post date:** [April 12, 2021, 12:20am UTC](https://forum.ghost.org/t/cant-upload-an-icon/21535/6 "2021-04-12T00:20:02Z")

</div>

@rdiezv the linked up icon above is not square 😉 This is exactly what the error message is complaining about:

> Icon must be a **square**
