# X-Plex-Device Invalid Value - Raspberry Pi 4

**URL:** <https://forums.plex.tv/t/x-plex-device-invalid-value-raspberry-pi-4/903288>\
**Category:** Metadata & Adding Files\
**Tags:** server-linux, library-management\
**Created:** [January 23, 2025, 3:18pm UTC](https://forums.plex.tv/t/x-plex-device-invalid-value-raspberry-pi-4/903288 "2025-01-23T15:18:33Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dyogram](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@Dyogram](https://forums.plex.tv/u/Dyogram)\
**Post date:** [January 23, 2025, 3:18pm UTC](https://forums.plex.tv/t/x-plex-device-invalid-value-raspberry-pi-4/903288/1 "2025-01-23T15:18:33Z")

</div>

Server Version#: 1.41.3.9314

I’ve been having quite a few permissions issue that I have been trying to resolve which has prevented my local metadata from being used by Plex. I believe I have now resolved most of my issues, but I am still seeing a repeating error when refreshing my metadata. It looks like every time an item is refreshed, this error is being added to the logs:

> [MetadataAgent/tv.plex.agents.series] [HttpHeader] invalid ‘X-Plex-Device’ header value (Raspberry Pi 4 Model B Rev 1.4)

This occurs with both the Movie and TV Scanners, I’m not sure what impact it has. I have been unable to find a way to change the device name, as this does not match the friendly server name or hostname.

Does anyone know what I can do to prevent this error from occuring?

---

<div class="post-metadata">

**Author:** ![suber67](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@suber67](https://forums.plex.tv/u/suber67)\
**Post date:** [January 23, 2025, 3:26pm UTC](https://forums.plex.tv/t/x-plex-device-invalid-value-raspberry-pi-4/903288/2 "2025-01-23T15:26:37Z")

</div>

I see the same on my rpi4 and also have music metadata issues.

---

<div class="post-metadata">

**Author:** ![Dyogram](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@Dyogram](https://forums.plex.tv/u/Dyogram)\
**Post date:** [January 25, 2025, 5:31pm UTC](https://forums.plex.tv/t/x-plex-device-invalid-value-raspberry-pi-4/903288/3 "2025-01-25T17:31:01Z")

</div>

I’ve also noticed this same error is being raised while watching content by a different function.

> [ViewStateSync] [HttpHeader] invalid ‘X-Plex-Device’ header value (Raspberry Pi 4 Model B Rev 1.4)

and when connecting to the webclient.

> [MediaProviderManager] [HttpHeader] invalid ‘X-Plex-Device’ header value (Raspberry Pi 4 Model B Rev 1.4)

I’m still not sure what impact it has.

---

<div class="post-metadata">

**Author:** ![dbirch](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dbirch](https://forums.plex.tv/u/dbirch)\
**Post date:** [January 26, 2025, 1:17am UTC](https://forums.plex.tv/t/x-plex-device-invalid-value-raspberry-pi-4/903288/4 "2025-01-26T01:17:41Z")

</div>

is it a WARN prefix or ERROR?

---

<div class="post-metadata">

**Author:** ![suber67](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@suber67](https://forums.plex.tv/u/suber67)\
**Post date:** [January 26, 2025, 4:25pm UTC](https://forums.plex.tv/t/x-plex-device-invalid-value-raspberry-pi-4/903288/5 "2025-01-26T16:25:58Z")

</div>

Error in the color red

---

<div class="post-metadata">

**Author:** ![dbirch](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dbirch](https://forums.plex.tv/u/dbirch)\
**Post date:** [January 26, 2025, 9:13pm UTC](https://forums.plex.tv/t/x-plex-device-invalid-value-raspberry-pi-4/903288/6 "2025-01-26T21:13:36Z")

</div>

That sounds like you are using the web console. Can you grab a copy of your [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) ?

---

<div class="post-metadata">

**Author:** ![Dyogram](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@Dyogram](https://forums.plex.tv/u/Dyogram)\
**Post date:** [January 26, 2025, 11:43pm UTC](https://forums.plex.tv/t/x-plex-device-invalid-value-raspberry-pi-4/903288/7 "2025-01-26T23:43:52Z")

</div>

They’re also being raised as errors for me in the web console.  
Example:

 ![image](https://global.discourse-cdn.com/plex/original/4X/d/8/4/d84016b26e733c9fcb373f2600f17ef9b9aa9754.png)

Here’s a copy of my [server logs.](https://support.plex.tv/articles/200250417-plex-media-server-log-files/)  
[Plex Media Server.log](https://forums.plex.tv/uploads/short-url/zKEnwyk1FFEKYKUJrT6YSrXJYa9.log) (4.7 MB)

---

<div class="post-metadata">

**Author:** ![dbirch](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dbirch](https://forums.plex.tv/u/dbirch)\
**Post date:** [January 27, 2025, 4:58am UTC](https://forums.plex.tv/t/x-plex-device-invalid-value-raspberry-pi-4/903288/8 "2025-01-27T04:58:21Z")

</div>

@ChuckPa Any chance you know whats going on here? `[Req#63644/ViewStateSync]` and `[MetadataAgent/tv.plex.agents.series]` are throwing `[HttpHeader] invalid 'X-Plex-Device' header value (Raspberry Pi 4 Model B Rev 1.4` error messages

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [January 27, 2025, 6:32am UTC](https://forums.plex.tv/t/x-plex-device-invalid-value-raspberry-pi-4/903288/9 "2025-01-27T06:32:40Z")

</div>

I suspect it’s because the model name contains more than one word.

On Synology DS418j, you get this;

```auto
chuck@ds418j:~$ get_key_value /etc.defaults/synoinfo.conf unique
synology_rtd1296_ds418j
chuck@ds418j:~$ cd ..
chuck@ds418j:/var/services/homes$ get_key_value /etc.defaults/synoinfo.conf unique|cut -d'_' -f3|sed 's/^ds/DS/;s/^fs/FS/;s/^rs/RS/'|sed 's/^\([0-9]\)/DS\1/'
DS418j
chuck@ds418j:/var/services/homes$

```

On regular Linux, you get this:

```auto
export PLEX_MEDIA_SERVER_INFO_MODEL="$(uname -m)";

which is:
[chuck@lizum debian.2020]$ uname -m
x86_64
[chuck@lizum debian.2021]$ 

```

Recommend first checking the output of `uname -m`  
If it’s indeed that long string, go into the service file,  
Edit this line to make it a single short word

```auto
export PLEX_MEDIA_SERVER_INFO_MODEL="$(uname -m)";

```

```auto
export PLEX_MEDIA_SERVER_INFO_MODEL="RPI4";

```

and try it

I am curious which OS this is running on.

---

<div class="post-metadata">

**Author:** ![Dyogram](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@Dyogram](https://forums.plex.tv/u/Dyogram)\
**Post date:** [January 27, 2025, 9:26am UTC](https://forums.plex.tv/t/x-plex-device-invalid-value-raspberry-pi-4/903288/10 "2025-01-27T09:26:25Z")

</div>

Sorry, should have included it in the initial post. I’m using Rasperry Pi OS (64-bit). I can’t remember what the current version is, but it’s ported off of debian Bookworm.

Here is what `os-release` returns:

> PRETTY\_NAME=“Debian GNU/Linux 12 (bookworm)”  
> NAME=“Debian GNU/Linux”  
> VERSION\_ID=“12”  
> VERSION=“12 (bookworm)”  
> VERSION\_CODENAME=bookworm  
> ID=debian  
> HOME\_URL=“[https://www.debian.org/](https://www.debian.org/)”  
> SUPPORT\_URL=“[Debian -- User Support](https://www.debian.org/support)”  
> BUG\_REPORT\_URL=“[https://bugs.debian.org/](https://bugs.debian.org/)”

`uname -m` returns:

> aarch64

Regardless, I tried updating the services file anyway and I’m still seeing the same error show up in the logs, so I guess it must be populating from something else.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [January 27, 2025, 5:52pm UTC](https://forums.plex.tv/t/x-plex-device-invalid-value-raspberry-pi-4/903288/11 "2025-01-27T17:52:08Z")

</div>

@Dyogram

May I please have both the Plex/Web DEBUG logs (settings - Plex/web - Debug)  
and the [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) ZIP?

– you’ll need to enable the Web debugging first then recreate / capture it.

---

<div class="post-metadata">

**Author:** ![Dyogram](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@Dyogram](https://forums.plex.tv/u/Dyogram)\
**Post date:** [January 28, 2025, 4:39pm UTC](https://forums.plex.tv/t/x-plex-device-invalid-value-raspberry-pi-4/903288/12 "2025-01-28T16:39:25Z")

</div>

@ChuckPa  
Here are the requested log files:

[plex\_web\_debug.txt](https://forums.plex.tv/uploads/short-url/A2OwfY9xzLXRT26iej8Hm42F0Df.txt) (62.3 KB)  
[plex\_desktop\_debug.txt](https://forums.plex.tv/uploads/short-url/jRB36bb1VDkU8imFPPwWK39b7W6.txt) (113.8 KB)  
[Plex Media Server Logs\_2025-01-28\_16-36-08.zip](https://forums.plex.tv/uploads/short-url/ebm3P2jOqaBdArjRlsWAyAyLIcG.zip) (3.9 MB)

I’ve also noticed that when I view the console log from the webclient, there seems to be an additional character at the end of the device name is the error messages. The additional character is not displayed in the Plex for Windows client.

 ![image](https://global.discourse-cdn.com/plex/original/4X/a/d/2/ad221d09ab1a8a6cf751f01a5dc98ecfc839bf47.png)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [April 28, 2025, 4:39pm UTC](https://forums.plex.tv/t/x-plex-device-invalid-value-raspberry-pi-4/903288/13 "2025-04-28T16:39:57Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
