# Aggiungere un link esterno al campo Motivo (badge) fallisce in modo silenzioso

**URL:** <https://meta.discourse.org/t/adding-an-external-link-to-the-reason-field-badge-fails-silently/95847>\
**Category:** Bug\
**Created:** [28 Agosto 2018, 4:58pm UTC](https://meta.discourse.org/t/adding-an-external-link-to-the-reason-field-badge-fails-silently/95847 "2018-08-28T16:58:29Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)\
**Post date:** [28 Agosto 2018, 4:58pm UTC](https://meta.discourse.org/t/adding-an-external-link-to-the-reason-field-badge-fails-silently/95847/1 "2018-08-28T16:58:29Z")

</div>

Repro on Meta:

1. go to user admin page
2. click on Edit badges
3. assign a badge adding an external URL as Reason  
 ![2018-08-28_18-46-16](https://global.discourse-cdn.com/meta/original/3X/c/8/c8ec8b119c7552105defbd512e7e0d4bd15be484.png)
4. click Grant
5. the badge is assigned, the Reason field remains empty  
 ![image](https://global.discourse-cdn.com/meta/original/3X/f/0/f0d6bb256cefcf0d196cb4e65c4b70d00b54581f.png)

The admin should be warned that the URL is invalid (is not an internal URL) and clicking on Grant must produce the error `Sorry, an error has occurred` (btw a specific error is always better to identify where you are wrong).

---

_[View the full topic](https://meta.discourse.org/t/adding-an-external-link-to-the-reason-field-badge-fails-silently/95847)._
