# Internal Server Error: 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6

**URL:** https://community.openboxes.com/t/internal-server-error-535-5-7-8-error-authentication-failed-ugfzc3dvcmq6/675
**Category:** bugs
**Created:** [November 9, 2022, 6:11pm UTC](https://community.openboxes.com/t/internal-server-error-535-5-7-8-error-authentication-failed-ugfzc3dvcmq6/675 "2022-11-09T18:11:29Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![David\_Douma](https://community.openboxes.com/user_avatar/community.openboxes.com/david_douma/32/326_2.png) [@David\_Douma](https://community.openboxes.com/u/David_Douma)
#### Post date: [November 9, 2022, 6:11pm UTC](https://community.openboxes.com/t/internal-server-error-535-5-7-8-error-authentication-failed-ugfzc3dvcmq6/675/1 "2022-11-09T18:11:30Z")

</div>

If I try to send a requested stock movement I get the error:

Internal server error.  
535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6

 ![image](https://community.openboxes.com/uploads/default/original/1X/245a917a7f8f21dc073129bd8955890606f8d9c3.png)

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [November 11, 2022, 1:38am UTC](https://community.openboxes.com/t/internal-server-error-535-5-7-8-error-authentication-failed-ugfzc3dvcmq6/675/2 "2022-11-11T01:38:14Z")

</div>

This looks like an SMTP error, so disable email.

```auto
grails.mail.enabled = false

```

---

<div class="post-metadata">

### Author: ![David\_Douma](https://community.openboxes.com/user_avatar/community.openboxes.com/david_douma/32/326_2.png) [@David\_Douma](https://community.openboxes.com/u/David_Douma)
#### Post date: [November 11, 2022, 11:00am UTC](https://community.openboxes.com/t/internal-server-error-535-5-7-8-error-authentication-failed-ugfzc3dvcmq6/675/3 "2022-11-11T11:00:43Z")

</div>

If I disable this will the system still send out emails or not? Otherwise I have to look why smtp isn’t working anymore.

---

<div class="post-metadata">

### Author: ![David\_Douma](https://community.openboxes.com/user_avatar/community.openboxes.com/david_douma/32/326_2.png) [@David\_Douma](https://community.openboxes.com/u/David_Douma)
#### Post date: [November 11, 2022, 11:21am UTC](https://community.openboxes.com/t/internal-server-error-535-5-7-8-error-authentication-failed-ugfzc3dvcmq6/675/4 "2022-11-11T11:21:16Z")

</div>

Problem found, someone chanced the smtp pass

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [November 11, 2022, 2:49pm UTC](https://community.openboxes.com/t/internal-server-error-535-5-7-8-error-authentication-failed-ugfzc3dvcmq6/675/5 "2022-11-11T14:49:58Z")

</div>

Yeah that’s what I was going to suggest next. Glad you figured it out. We should probably catch that exception and rethrow it as a checked exception to be more instructive (“Looks like your SMTP settings are off”) about where the issue occurs. Also, I was under the impression that we had changed the way email notifications work so they do not block the application from continuing when email errors occur. I’ll investigate that.

[@Artur Walkowiak](mailto:awalkowiak@soldevelo.com) [@Matthew Pearson](mailto:mpearson@pih.org) Do you remember making a change like that in a recent release?
