#7931·AntennaPod

Improve error message texts in download log

Author: keunesCreated Aug 16, 2025Updated Sep 26, 2026
LabelsType: Feature requestNeeds: Triage

Checklist

  • I have used the search function for OPEN issues to see if someone else has already submitted the same feature request.
  • I have also used the search function for CLOSED issues to see if the feature was already implemented and is just waiting to be released, or if the feature was rejected.
  • I will describe the problem with as much detail as possible.
  • This request contains only one single feature, not a list of multiple (related) features.

App version

3.9.0

Feature or improvement you want

Following up on #7672:

  • Improved error messages:
    • remove technical terms like 'host' as much as possible
    • align phrasing and grammar (e.g. past tense everywhere, use of 'please')
    • introduce a suggested next step/line of action for each type of error
  • In specific cases, differentiate error messages between episodes and podcasts

Error types and messages

List and details generated by Copilot based on list in https://github.com/AntennaPod/AntennaPod/blob/develop/model/src/main/java/de/danoeh/antennapod/model/download/DownloadError.java. Last two points for each error (Differentiation needed and Message tweak) from my hand.

1. ERROR_PARSER_EXCEPTION

  • Issue: The RSS/Atom feed is malformed or corrupted and cannot be parsed properly
  • Applies to: Feeds only - occurs when downloading and parsing podcast RSS feeds
  • Example causes: Invalid XML, corrupted feed data, encoding issues
  • Error Message: "The podcast host's server sent a broken podcast feed. We recommend checking with a podcast validator such as castfeedvalidator.com and contacting the podcast creator to let them know."
  • Differentiation needed: No
  • Message tweak: "The podcast's feed is broken; it contains incorrect data or formatting. Please contact the podcaster to let them know. You can suggest them to check their feed with a validator like castfeedvalidator.com."

2. ERROR_UNSUPPORTED_TYPE

  • Issue: The feed format is not supported by AntennaPod
  • Applies to: Feeds only - occurs when the feed type is not RSS or Atom
  • Example causes: Unusual feed formats that AntennaPod cannot handle
  • Error Message: "Unsupported feed type"
  • Differentiation needed: No
  • Message tweak: "The podcast data is provided in a file format that AntennaPod cannot process. Remove this podcast and add an RSS or Atom feed instead."

3. ERROR_CONNECTION_ERROR

  • Issue: Network connection problems or socket timeouts
  • Applies to: Both feeds and episodes - any network-related download failure
  • Example causes: Poor internet connection, server timeouts, network interruptions
  • Error Message: "Connection error"
  • Differentiation needed: No
  • Message tweak: "There was a network error. Check your internet connection and try again. If the issue persists over several days, please contact the podcaster to let them know."

4. ERROR_MALFORMED_URL

  • Issue: The URL is invalid or improperly formatted
  • Applies to: Both feeds and episodes - occurs when the URL cannot be parsed
  • Example causes: Invalid URL syntax, special characters, encoding issues
  • Error Message: "Unknown error" (maps to generic error message)
  • Differentiation needed: Yes
  • Message tweak: Why might this map to the generic error message? Would the following be correct?
    • Podcasts: "The URL of this podcast is incorrect. Open the podcast, tap the ℹ️ icon and then the three dots in the top bar to edit the podcast URL."
    • Episodes: "The URL of the media file for this episode is incorrect. Please contact the podcaster to let them know."

(This seems unlikely to happen but I guess it can occur if podcast URL was synced/imported from another source.)

5. ERROR_IO_ERROR

  • Issue: Input/output errors during file operations
  • Applies to: Both feeds and episodes - general I/O problems
  • Example causes: File system errors, permission issues, disk corruption
  • Error Message: "IO error"
  • Differentiation needed: No
  • Message tweak: "There was an issue reading or writing files. If the issue persists and you use an SD-card, please verify it is working properly."

6. ERROR_FILE_EXISTS

  • Issue: Target file already exists and cannot be overwritten
  • Applies to: Both feeds and episodes - file system conflict
  • Example causes: File permissions, concurrent downloads
  • Error Message: "Unknown error" (maps to generic error message)
  • Differentiation needed: No
  • Message tweak: Why might this map to the generic error message? Would the following be correct? "The file that AntennaPod tried to save already exists. If the issue persists, you can ask the AntennaPod community for help via forum.antennapod.org."

7. ERROR_DOWNLOAD_CANCELLED

  • Issue: User or system cancelled the download
  • Applies to: Both feeds and episodes - intentional cancellation
  • Example causes: User action, app shutdown, system interruption
  • Error Message: "Download canceled"
  • Differentiation needed: Yes
  • Message tweak:
    • Podcasts: "The podcast refresh was canceled or interrupted. Please try again."
    • Episodes: "The episode download was canceled or interrupted. Please try again."

8. ERROR_DEVICE_NOT_FOUND

  • Issue: Storage device (like SD card) is not available
  • Applies to: Both feeds and episodes - storage hardware issue
  • Example causes: Missing SD card, unmounted storage, hardware failure
  • Error Message: "Storage Device not found"
  • Differentiation needed: No
  • Message tweak: "The storage medium (e.g. SD card) was not found. Check if Android app folders are accessible and your storage medium is inserted or connected."

9. ERROR_HTTP_DATA_ERROR

  • Issue: HTTP response indicates an error (like 500, 503, etc.)
  • Applies to: Both feeds and episodes - server-side HTTP errors
  • Example causes: Server maintenance, temporary outages, API limits
  • Error Message: "HTTP data error"
  • Differentiation needed: No
  • Message tweak: "There was an issue on the side of the podcast's web server. Please try again."

10. ERROR_NOT_ENOUGH_SPACE

  • Issue: Insufficient storage space on device
  • Applies to: Both feeds and episodes - storage capacity issue
  • Example causes: Full device storage, large file downloads
  • Error Message: "There is not enough space left on your device."
  • Differentiation needed: No
  • Message tweak: "There was not enough space on your device. Please remove some big files (either in AntennaPod or other apps) and try again."

11. ERROR_UNKNOWN_HOST

  • Issue: Cannot resolve the hostname/domain name
  • Applies to: Both feeds and episodes - DNS resolution failure
  • Example causes: DNS issues, invalid domain, network configuration
  • Error Message: "Cannot find the server. Check if the address is typed correctly and if you have a working network connection."
  • Differentiation needed: No
  • Message tweak: "The podcast's server could not be found. Check if the address is correct and if you have a working network connection."

12. ERROR_REQUEST_ERROR

  • Issue: Generic request processing error. This is used as a default initialization error state for HTTP download requests when they are first created, before any actual download processing begins
  • Applies to: Both feeds and episodes - general request failure
  • Example causes: Default error state, unknown request issues
  • Error Message: "Request error"
  • Differentiation needed: No (should rarely be displayed; differentiation not worth it)
  • Message tweak: "There was an unknown error when downloading an episode or refreshing a feed. Please report a bug via forum.antennapod.org or GitHub."

13. ERROR_DB_ACCESS_ERROR

  • Issue: Database operation failed during download processing
  • Applies to: Both feeds and episodes - internal database error
  • Example causes: Database corruption, SQLite errors, concurrent access
  • Error Message: "Database access error"
  • Differentiation needed: No
  • Message tweak: "There was an issue with AntennaPod's database. If the issue persists, you can ask the AntennaPod community for help via forum.antennapod.org."

14. ERROR_UNAUTHORIZED

  • Issue: HTTP 401 - Authentication required or credentials invalid
  • Applies to: Both feeds and episodes - authentication failure
  • Example causes: Wrong username/password, expired credentials
  • Error Message: "Authentication error. Make sure that username and password are correct."
  • Differentiation needed: No
  • Message tweak: "There was an authentication error. Open the podcast, tap the ⚙️ icon and then the 'Authentication' setting to check if the username and password are correct."

15. ERROR_FILE_TYPE

  • Issue: Downloaded content has wrong MIME type (e.g., text/html for media files)
  • Applies to: Episodes only - occurs when expecting media but getting web pages
  • Example causes: Server returning HTML instead of audio/video files
  • Error Message: "File type error"
  • Differentiation needed: No
  • Message tweak: "The podcast's server provided an unexpected (non-media) file type. Please contact the podcaster to let them know."

16. ERROR_FORBIDDEN

  • Issue: HTTP 403 - Server refuses to provide the resource
  • Applies to: Both feeds and episodes - access denied by server
  • Example causes: IP blocking, geographic restrictions, server policy
  • Error Message: "The podcast host's server refuses to respond."
  • Differentiation needed: No
  • Message tweak: "The podcast's server refuses to respond. Please contact the podcaster to ask if any restrictions was implemented based on IP address, geographic location or app provider."

17. ERROR_IO_WRONG_SIZE

  • Issue: Downloaded file size doesn't match expected size from headers
  • Applies to: Both feeds and episodes - incomplete download
  • Example causes: Connection interrupted, server issues, corrupted transfer
  • Error Message: "The server connection was lost before completing the download"
  • Differentiation needed: No
  • Message tweak: "The connection was lost before completing the download. Please try again."

18. ERROR_IO_BLOCKED

  • Issue: Download blocked by another app (VPN, ad blocker, firewall)
  • Applies to: Both feeds and episodes - external interference
  • Example causes: VPN apps, ad blockers, security software
  • Error Message: "The download was blocked by another app on your device (like a VPN or ad blocker)."
  • Differentiation needed: No
  • Message tweak: "The download was blocked by another app on your device. Disable VPN, ad blocker or similar apps (temporarily) and try again."

19. ERROR_UNSUPPORTED_TYPE_HTML

  • Issue: Server returned an HTML webpage instead of expected RSS feed
  • Applies to: Feeds only - specific case of getting HTML instead of feed
  • Example causes: Wrong URL, server redirecting to website instead of feed
  • Error Message: "The podcast host's server sent a website, not a podcast."
  • Differentiation needed: No
  • Message tweak: "The podcast's server sent a website, not a podcast. Check if the address is indeed an RSS or Atom feed. Please contact the podcaster if the address seems correct."

20. ERROR_NOT_FOUND

  • Issue: HTTP 404/410 - Resource not found or has been removed
  • Applies to: Both feeds and episodes - content no longer available
  • Example causes: Deleted files, moved resources, broken links
  • Error Message: "The podcast host's server does not know where to find the file. It may have been deleted."
  • Differentiation needed: Yes
  • Message tweak:
    • Podcasts: "The podcast's server couldn't find the file with the podcast data. The podcast may have been taken down. Please contact the podcaster to check with them."
    • Episodes: "The podcast's server couldn't find the media file for this episode. It may have been removed. Please contact the podcaster to let them know."

21. ERROR_CERTIFICATE

  • Issue: SSL/TLS certificate problems preventing secure connection
  • Applies to: Both feeds and episodes - HTTPS security issue
  • Example causes: Invalid certificates, certificate chain issues, VPN interference
  • Error Message: "Unable to establish a secure connection. This can mean that another app on your device (like a VPN or an ad blocker) blocked the download, or that something is wrong with the server certificates."
  • Differentiation needed: No
  • Message tweak: "There was an issue establishing a secure connection. This may mean the download was blocked by another app on your device. Disable VPN, ad blocker or similar apps (temporarily) and try again. If you don't have such apps and the issue persists over several days, please contact the podcaster to let them know. Somethilng may be wrong with the podcast server's certificates."

22. ERROR_PARSER_EXCEPTION_DUPLICATE

  • Issue: Duplicate item detected during feed parsing
  • Applies to: Feeds only - occurs when the same episode appears multiple times
  • Example causes: Malformed feeds with duplicate entries, feed generation errors
  • Error Message: "The podcast host's server sent a broken podcast feed. We recommend checking with a podcast validator such as castfeedvalidator.com and contacting the podcast creator to let them know." (same as ERROR_PARSER_EXCEPTION)
  • Differentiation needed: No
  • Message tweak: "The podcast's feed is broken; it contains incorrect data or duplicate episodes. Please contact the podcaster to let them know. You can suggest them to check their feed with a validator like castfeedvalidator.com."

Why should this be added?

To make the app more consistent and to make error messages easier to understand and follow up on for end-users.

Screenshots / Drawings / Technical details

No response