Loading
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

iOS Smart Punctuation Causing Custom Domain Login Errors in Salesforce Mobile App

게시 일자: Aug 7, 2026
상세 설명

Users on iOS devices experience login errors when entering their Salesforce custom domain in the Salesforce Mobile App. The error typically reads: "Only alphabets, hyphens, and numbers are allowed." The issue occurs even when the user believes they have typed the domain correctly.
This issue affects Salesforce Mobile App users on iPhone and iPad running iOS with Smart Punctuation enabled — which is the default setting on Apple devices.

Cause

iOS Smart Punctuation Converts Double-Hyphens to Em Dashes

Apple's iOS Smart Punctuation feature automatically converts two consecutive hyphens (--) into an em dash (—) as the user types. Some Salesforce custom domain names contain double-hyphens (for example: mycompany--sandbox.my.salesforce.com). When a user types this domain on iOS, Smart Punctuation silently replaces -- with —.
The Salesforce Mobile App only accepts standard hyphens in domain names. The em dash is not a valid character, so the app returns an error and the login fails.

솔루션

Disabling iOS Smart Punctuation prevents the automatic character substitution and allows the custom domain to be entered correctly.

Step 1 — Disable Smart Punctuation on the iOS Device

  1. On the iOS device, open Settings.
  2. Tap General.
  3. Tap Keyboard.
  4. Scroll to find Smart Punctuation and toggle it OFF.

📌 Note: Disabling Smart Punctuation only affects punctuation auto-correction. It does not change any other keyboard behavior and does not affect the Salesforce app itself.

Step 2 — Re-enter the Custom Domain

  1. Open the Salesforce Mobile App.
  2. On the login screen, tap the menu or gear icon to access Change Server.
  3. Enter your custom domain using the exact URL, including any double-hyphens.
  4. Tap Apply and log in.

Alternative: Paste the Domain Instead of Typing

As an alternative to disabling Smart Punctuation, users can copy the full custom domain URL from an email or browser on their device and paste it into the domain field in the Salesforce Mobile App. Pasting bypasses the auto-correction behavior.
⚠️ Note for Admins: If multiple users in your organization use iOS devices to log in with a custom domain that contains a double-hyphen, consider communicating this workaround proactively. The issue is most common in sandbox environments (which typically use --sandbox in the domain).

FAQ

Why does the Salesforce Mobile App show "only alphabets, hyphens, numbers allowed" when the domain looks correct? iOS Smart Punctuation may be silently replacing double-hyphens in the domain with an em dash character. Disable Smart Punctuation in Settings > General > Keyboard and try again.
Does this issue affect Android devices? This specific issue is iOS-only. Android does not have an equivalent Smart Punctuation feature that would substitute hyphens in this way. Android users experiencing domain login errors should follow the standard troubleshooting steps in the Troubleshoot Login Problems article.
Will re-enabling Smart Punctuation cause the problem to return? Yes. If Smart Punctuation is re-enabled, it will again substitute double-hyphens when typing. Either keep Smart Punctuation disabled or use the paste method for domain entry.

Knowledge 기사 번호

005390717

 
로드 중
Salesforce Help | Article