Automattic / Automattic/pocket-casts-ios

Downloads: `Unable to save episode, have you run out of space?` error

Open
#2,736 1 comment 1 reaction 0 assignees View on GitHub
[Type] Bug
Dominant language
Swift
Stars
1.8k
Forks
197
Avg merge
17h 20m
Merged PRs (30d)
103

Description

### Description

We have a user reporting that they have over 70GB of free space, but keep seeing an error: `Unable to save episode, have you run out of space?`

We noticed in the logs:
```
DownloadManager: Failed to copy downloaded file from location: to destination: error:

```

As per our internal discussion, this needs a closer look: p1734167162828969-slack-C02A333D8LQ

> with the info we added it looks there is some issue of having duplicate files in the destination folder. so when the download finish in the temporary location when we try to move the file to the permanent location it fails[...]

### Step-by-step reproduction instructions

n/a

### Screenshots or screen recording

![Image](https://github.com/user-attachments/assets/8343f586-bda9-44fc-b24c-457f67f87dba)

### Did you search for existing bug reports?

- [x] I have searched for existing bug reports.

### Device, Operating system, and Pocket Casts app version

App Version: 7.80
Device: iPhone14,3
OS: 18.3

Contributor guide

Open the contributing guide

Research direction

Start by tracing DownloadManager's copy from the temporary download location to the permanent destination, using the logged failure and the duplicate-file suspicion as the investigation focus. Reproduce the save failure if possible on the listed iPhone and iOS versions; done means identifying and resolving the cause of the false out-of-space error, with a verified download result.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.