java.text.ParseException: Unparseable date: "x"
SimpleDateFormat couldn’t parse the string with its pattern.
Seen on:
Java
Meaning
Legacy java.util.Date parsing. Pattern mismatches, locale differences and timezone suffixes are common. SimpleDateFormat is also not thread-safe.
Common causes
- Pattern doesn’t match the input
- Locale mismatch (month names)
- Shared SimpleDateFormat across threads
⚡ Quick fix
- Fix the pattern
- Migrate to java.time (DateTimeFormatter is thread-safe)
- Specify Locale.ENGLISH for English month names
Detailed fix by platform
Java
DateTimeFormatter.ofPattern("EEE, dd MMM yyyy HH:mm:ss Z", Locale.ENGLISH)
How to diagnose
- Input — Exact string
- Pattern — Current pattern
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
Was this page helpful?
Report a correction or suggest an improvement
Last updated 2 Oct 2026