# FileWave Server Mail test receives Bad Request with Google SMTP Accounts

## **What**

This troubleshooting article applies when **Authentication Method** is set to **Manual Setup** and a Google SMTP account returns a Bad Request error because the account is not ready for the app-password workflow below.

<p class="callout info">**FileWave 16.4 also supports Google OAuth.** Use OAuth when it matches the organization’s Google Workspace policy; use the app-password steps below only for a supported Manual Setup configuration. See [Configuring FileWave Server Mail Preferences](https://kb.filewave.com/books/filewave-central-anywhere/page/configuring-filewave-server-mail-preferences).</p>

[![BadRequest.png](https://kb.filewave.com/uploads/images/gallery/2023-06/scaled-1680-/p4XADkBIE1KPfJvM-badrequest.png)](https://kb.filewave.com/uploads/images/gallery/2023-06/p4XADkBIE1KPfJvM-badrequest.png)

## **When/Why**

For Google accounts, enable 2-Step Verification and create a Google App Password for FileWave. Use that generated app password in FileWave mail preferences instead of the user's normal Google password.

## **How**

In the Google account, open the security settings, confirm that 2-Step Verification is enabled, then create an app password. Google's current instructions are here: [Sign in with app passwords](https://support.google.com/accounts/answer/185833?hl=en). Copy the generated password into FileWave email preferences and keep it stored securely with your other service-account credentials.

Send another test email from FileWave to confirm that the Google account and app password are accepted.

[![GoogleAppPassword0.png](https://kb.filewave.com/uploads/images/gallery/2023-06/scaled-1680-/6TiN4xpvXiUuKUgN-googleapppassword0.png)](https://kb.filewave.com/uploads/images/gallery/2023-06/6TiN4xpvXiUuKUgN-googleapppassword0.png)

[![GoogleAppPassword1.png](https://kb.filewave.com/uploads/images/gallery/2023-06/scaled-1680-/NlLN3mL4JT4Eg60E-googleapppassword1.png)](https://kb.filewave.com/uploads/images/gallery/2023-06/NlLN3mL4JT4Eg60E-googleapppassword1.png)

[![GoogleAppPassword2.png](https://kb.filewave.com/uploads/images/gallery/2023-06/scaled-1680-/j6UlDHoH6VR3IqSD-googleapppassword2.png)](https://kb.filewave.com/uploads/images/gallery/2023-06/j6UlDHoH6VR3IqSD-googleapppassword2.png)

[![GoogleAppPassword3.png](https://kb.filewave.com/uploads/images/gallery/2023-06/scaled-1680-/axh5MgVnxhszFEV7-googleapppassword3.png)](https://kb.filewave.com/uploads/images/gallery/2023-06/axh5MgVnxhszFEV7-googleapppassword3.png)

[![GooglePassword4.png](https://kb.filewave.com/uploads/images/gallery/2023-06/scaled-1680-/ky6ztRBizPaAU6uo-googlepassword4.png)](https://kb.filewave.com/uploads/images/gallery/2023-06/ky6ztRBizPaAU6uo-googlepassword4.png)

## Related Links

- [Generating scheduled reports](https://kb.filewave.com/books/filewave-central-anywhere/page/generating-scheduled-reports "Generating scheduled reports")
- [Sending Scheduled Reports to More Than One Address](https://kb.filewave.com/books/filewave-central-anywhere/page/sending-scheduled-reports-to-more-than-one-address "Sending Scheduled Reports to More Than One Address")
- [Configuring FileWave Server Mail Preferences](https://kb.filewave.com/books/filewave-central-anywhere/page/configuring-filewave-server-mail-preferences)