# "Cannot write tags to file x in folder y" error

**URL:** https://community.mp3tag.de/t/cannot-write-tags-to-file-x-in-folder-y-error/53568
**Category:** Mac
**Created:** [June 20, 2021, 4:55pm UTC](https://community.mp3tag.de/t/cannot-write-tags-to-file-x-in-folder-y-error/53568 "2021-06-20T16:55:39Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![baward](https://community.mp3tag.de/user_avatar/community.mp3tag.de/baward/32/8057_2.png) [@baward](https://community.mp3tag.de/u/baward)
#### Post date: [June 20, 2021, 4:55pm UTC](https://community.mp3tag.de/t/cannot-write-tags-to-file-x-in-folder-y-error/53568/1 "2021-06-20T16:55:39Z")

</div>

Hello,

Please could you tell me why this is happening? I did 19 other folders at the same sort of time yesterday, but this one folder is the problematic one.

Also I have 11 files in my folder, but in total 22 error messages are generated. I have mp3tag 1.2.0(48)

Many thanks.

---

<div class="post-metadata">

### Author: ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)
#### Post date: [June 20, 2021, 5:46pm UTC](https://community.mp3tag.de/t/cannot-write-tags-to-file-x-in-folder-y-error/53568/2 "2021-06-20T17:46:03Z")

</div>

Is the file you are writing to in use by any other program? A player, editor, network streaming, etc will lock the file from modification.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [June 20, 2021, 6:14pm UTC](https://community.mp3tag.de/t/cannot-write-tags-to-file-x-in-folder-y-error/53568/3 "2021-06-20T18:14:05Z")

</div>

It's also possible that the files are damaged or otherwise malformed. Mp3tag refuses to write files with internal errors to prevent further damage (happens most often with WAV and MP4).

Regarding the error messages: I've improved that with current v1.2.1 (49).

---

<div class="post-metadata">

### Author: ![baward](https://community.mp3tag.de/user_avatar/community.mp3tag.de/baward/32/8057_2.png) [@baward](https://community.mp3tag.de/u/baward)
#### Post date: [June 20, 2021, 6:41pm UTC](https://community.mp3tag.de/t/cannot-write-tags-to-file-x-in-folder-y-error/53568/4 "2021-06-20T18:41:41Z")

</div>

Fantastic, I will bear in mind about possibly damaged files, and other programs that might have been using the files. I was ripping some of my own CDs to my NAS, and had Plex running, which might be the reason. I am re-ripping the 'offending' CD and will have another go.

Thank you.

---

<div class="post-metadata">

### Author: ![baward](https://community.mp3tag.de/user_avatar/community.mp3tag.de/baward/32/8057_2.png) [@baward](https://community.mp3tag.de/u/baward)
#### Post date: [June 21, 2021, 11:40am UTC](https://community.mp3tag.de/t/cannot-write-tags-to-file-x-in-folder-y-error/53568/5 "2021-06-21T11:40:18Z")

</div>

Well, that was pretty straightforward! I quit Plex, and reattached the sleeve art to my files - no errors. Incidentally, I noticed that I had previously attached other versions of the sleeve art to some of my files, so I deleted all sleeve art from every file and re-attached only the sleeve art I want.

I recall someone recommending that I make all my sleeve art files 400x400pixels. Some of the troublesome ones had previously been more that 400x400. Could that be why mp3tag doesn't like them?

After I had started Plex again, I noticed (after I ran the Plex process, 'Scan Library Files') that Plex still wasn't recognising am few albums correctly. What has greater priority, Plex or mp3tag? Sorry if this is covered in the help section.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [June 21, 2021, 12:32pm UTC](https://community.mp3tag.de/t/cannot-write-tags-to-file-x-in-folder-y-error/53568/6 "2021-06-21T12:32:36Z")

</div>

> [@baward](#):
>
> Could that be why mp3tag doesn't like them?

Mp3Tag does not care about the size. I would call 400x400 really small.

But there are some crappy players (i.e. car players) that have problems with high resolution artwork.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [June 21, 2021, 1:31pm UTC](https://community.mp3tag.de/t/cannot-write-tags-to-file-x-in-folder-y-error/53568/7 "2021-06-21T13:31:48Z")

</div>

> [@baward](#):
>
> After I had started Plex again, I noticed (after I ran the Plex process, 'Scan Library Files') that Plex still wasn't recognising am few albums correctly. What has greater priority, Plex or mp3tag? Sorry if this is covered in the help section.

From what I've understood from your previous posts, you're running Plex on a NAS so it should just reload the modified data if you're scanning the files.

Are the files already listed in Plex but with the old information or are they not showing up at all?

---

<div class="post-metadata">

### Author: ![baward](https://community.mp3tag.de/user_avatar/community.mp3tag.de/baward/32/8057_2.png) [@baward](https://community.mp3tag.de/u/baward)
#### Post date: [June 21, 2021, 2:37pm UTC](https://community.mp3tag.de/t/cannot-write-tags-to-file-x-in-folder-y-error/53568/8 "2021-06-21T14:37:47Z")

</div>

Thanks I will bear that in mind. I think the info I have came from someone on Plex.

---

<div class="post-metadata">

### Author: ![baward](https://community.mp3tag.de/user_avatar/community.mp3tag.de/baward/32/8057_2.png) [@baward](https://community.mp3tag.de/u/baward)
#### Post date: [June 21, 2021, 2:39pm UTC](https://community.mp3tag.de/t/cannot-write-tags-to-file-x-in-folder-y-error/53568/9 "2021-06-21T14:39:41Z")

</div>

The files are there (on Plex) but the only thing that's wrong is the artwork. It's fine and what I used in mp3tag.

Sometimes, Plex seems to take a while to update itself, even when I scan my libraries.
