# "Install this theme component" doesn't display any information after a 502 error

**URL:** <https://meta.discourse.org/t/install-this-theme-component-doesnt-display-any-information-after-a-502-error/266602>\
**Category:** Site feedback\
**Created:** [May 30, 2023, 1:27pm UTC](https://meta.discourse.org/t/install-this-theme-component-doesnt-display-any-information-after-a-502-error/266602 "2023-05-30T13:27:58Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [May 30, 2023, 1:27pm UTC](https://meta.discourse.org/t/install-this-theme-component-doesnt-display-any-information-after-a-502-error/266602/1 "2023-05-30T13:27:58Z")

</div>

I think it’s a fairly rare case, but still… 🙂

Theme components often have this button to install the theme component on a remote Discourse:  
 ![image](https://global.discourse-cdn.com/meta/original/4X/4/b/f/4bf614bc01e386cb22d0d6511f38481e17cf91fe.png)

Here, I entered `discourse.canapin.com` instead of `discourse.canapin.dev`. The first domain leads to a non-working IP, a remnant of past experiments. 🙂

Then, there’s no error message. The “Install” button stays greyed out, and nothing happens:

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/a/d/8ade706d96a399b87af0fd8718266ab9c11f0bfe.png)

After a while, `https://meta.discourse.org/theme-install-checker.json` obviously returns a 502 error, but it’s only visible in the network tab of the browser’s dev tools.

I’m not sure something should be done about this, but since I keep mixing up my domains, it led me to this situation a couple of times and I didn’t get what was wrong (because there was no error displayed).

Maybe a message should be displayed, whatever the error number is.

Maybe a loading icon should be added next to “Install” in the button if the operation takes more time than usual.

🙂

edit: I saw that there’s a cool loading icon on the fast edit button. Something like this would fit:

---

_[View the full topic](https://meta.discourse.org/t/install-this-theme-component-doesnt-display-any-information-after-a-502-error/266602)._
