# Copy Audio File Error

**URL:** <https://forum.ionicframework.com/t/copy-audio-file-error/189048>\
**Category:** Ionic Framework\
**Created:** [May 8, 2020, 8:51pm UTC](https://forum.ionicframework.com/t/copy-audio-file-error/189048 "2020-05-08T20:51:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![franciscocab](https://avatars.discourse-cdn.com/v4/letter/f/c67d28/32.png) [@franciscocab](https://forum.ionicframework.com/u/franciscocab)\
**Post date:** [May 8, 2020, 8:51pm UTC](https://forum.ionicframework.com/t/copy-audio-file-error/189048/1 "2020-05-08T20:51:13Z")

</div>

Hello, I am using the File plugin and I want to copy audio files to my directory, example:  
**file: ///data/user/0/com.company/files/media\_files**

But I have this error:

**FileError {code: 1, message: “NOT\_FOUND\_ERR”}**  
**code: 1**  
**message: "NOT\_FOUND\_ERR"**

It only happens when I use Xiaomi brand phones, I realized that the difference is how it saves the file name, example: **name: 5%20may.%2010.05%20p.%20m…aac**

Has anyone had the same problem? If you can help me, thanks

---

<div class="post-metadata">

**Author:** ![tsug](https://avatars.discourse-cdn.com/v4/letter/t/43a26b/32.png) [@tsug](https://forum.ionicframework.com/u/tsug)\
**Post date:** [February 28, 2022, 3:17pm UTC](https://forum.ionicframework.com/t/copy-audio-file-error/189048/2 "2022-02-28T15:17:54Z")

</div>

Same issue as mine. All I did is use:

decodeURIComponent(name);
