sodcalculator

10 Tech How-To

Gmail Account Error on iPhone: Server Cannot Process

Guide 10-60086 · Updated · Step by step

If you see “The server cannot process the request” when adding a Gmail account to your iPhone, it usually means the Mail app is using an outdated connection method or your Google password is not being accepted. The fix is to update your iPhone’s mail settings or use an App Password if you have two-factor authentication enabled. Below is a step-by-step guide to resolve this error and get your Gmail working again.

Why This Error Happens

The “server cannot process” error typically appears when the iPhone’s Mail app tries to connect to Gmail using an old protocol (like IMAP with a plain password) that Google no longer supports. Google has phased out “less secure apps” and now requires OAuth 2.0 authentication for most mail clients. If your iPhone is running an outdated iOS version, or if you have two-factor authentication enabled and are entering your regular password instead of an App Password, the server will reject the request.

How to Fix It: Step-by-Step

  1. Update iOS: Go to Settings > General > Software Update. Install any pending updates, as Apple regularly patches mail connection issues.
  2. Remove and re-add the account: Go to Settings > Mail > Accounts > Gmail, tap Delete Account. Then go to Settings > Mail > Accounts > Add Account > Google, sign in with your Gmail address and password. Make sure you allow Google to access your account when prompted.
  3. Enable two-factor authentication and use an App Password: If you have 2FA on, go to your Google Account security settings, generate an App Password (Settings > Security > App passwords), and use that 16-character code as your password when adding the account on the iPhone.
  4. Check your mail settings manually: If the automatic setup fails, try manual configuration: IMAP server: imap.gmail.com, port 993, SSL on; SMTP server: smtp.gmail.com, port 465 or 587, SSL on. Use your full email address as the username.
  5. Reset network settings: Go to Settings > General > Transfer or Reset iPhone > Reset > Reset Network Settings. This will not delete your data, but it will forget Wi-Fi passwords and Bluetooth connections.

Common Mistakes That Trigger the Error

  • Entering your regular Gmail password when you have 2FA enabled. You must use an App Password.
  • Using a third-party mail app that hasn’t been updated to support OAuth. The built-in Mail app is usually fine, but older apps may fail.
  • Having a corporate or school Gmail account (Google Workspace) that requires a different server address (e.g., mail.yourdomain.com). Check with your IT admin.
  • Typing the email address incorrectly, especially if you have multiple Gmail aliases.

What to Do If the Error Persists

If you’ve tried the steps above and still see the error, try the following:

  • Use the Gmail app instead of the Mail app: The Gmail app is designed to work with Google’s servers and rarely has connection issues. You can still get notifications and send mail from your iPhone.
  • Check Google’s service status: Visit the Google Workspace Status Dashboard to see if there is an ongoing outage.
  • Try a different network: Switch from Wi-Fi to cellular data (or vice versa) to rule out a network firewall blocking the connection.
  • Contact Apple Support or Google Support: If the issue is specific to your account or device, they can run diagnostics.

How to Prevent This in the Future

  • Keep your iPhone updated to the latest iOS version.
  • Enable two-factor authentication on your Google account and always use App Passwords for third-party mail apps.
  • Periodically check your Google Account security settings to revoke access for old devices.
  • If you switch to a new iPhone, use Quick Start to transfer your accounts, as this often preserves the correct authentication tokens.

Frequently Asked Questions

Why does my Gmail work on the web but not on my iPhone?

Web browsers use a different authentication method (cookies and OAuth) that is always up to date. The Mail app on your iPhone may be using an outdated token or password, so it gets rejected. Re-adding the account usually fixes it.

Do I need to enable IMAP in Gmail settings?

Yes, for the Mail app to work, IMAP must be enabled in your Gmail settings. Go to Gmail on the web > Settings > See all settings > Forwarding and POP/IMAP > Enable IMAP. This is usually on by default, but if you’ve disabled it, you’ll get a connection error.

What is an App Password and how do I create one?

An App Password is a 16-character code that Google generates for apps that don’t support OAuth. You create it in your Google Account under Security > 2-Step Verification > App passwords. You need to have 2FA enabled. Use this code instead of your regular password when adding the account on your iPhone.

Will resetting my iPhone fix the error?

Resetting network settings is a good first step, but a full factory reset is rarely necessary. It’s a last resort if the error persists after all other steps. Make sure to back up your data first.

My Gmail account is a Google Workspace account. Does the fix differ?

Yes, if your organization uses a custom domain, you may need to use a different server address. Contact your IT administrator for the correct IMAP and SMTP settings, or use the automatic setup with your full email address.

Can I use Outlook or other mail apps instead?

Yes, the Outlook app supports Gmail and uses modern OAuth, so it usually works without issues. You can also try Spark or Airmail, but the built-in Mail app and Gmail app are the most reliable.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →