Can't Add Movies Lib on Version 1.24.0.4930

Running plex server on linux version 1.24.0.4930. When I try to add a Movies library the http request fails with response 'agent' is missing or invalid

Request headers:

POST /library/sections?name=Movies&type=movie&agent=tv.plex.agents.movie&scanner=Plex%20Movie&language=en-US&importFromiTunes=&enableAutoPhotoTags=&downloadMedia=&location=%2Fstorage%2Fmovies&X-Plex-Product=Plex%20Web&X-Plex-Version=4.59.2&X-Plex-Client-Identifier=8gu0d2c0vsfpa09p2ravlyah&X-Plex-Platform=Chrome&X-Plex-Platform-Version=92.0&X-Plex-Sync-Version=2&X-Plex-Features=external-media%2Cindirect-media&X-Plex-Model=bundled&X-Plex-Device=Windows&X-Plex-Device-Name=Chrome&X-Plex-Device-Screen-Resolution=2287x1532%2C3840x2160&X-Plex-Token=zxcvzxcvzxcv-Plex-Language=en HTTP/1.1
Host: 10.15.10.26:32400
Connection: keep-alive
Content-Length: 0
Pragma: no-cache
Cache-Control: no-cache
Accept: application/xml
DNT: 1
X-Requested-With: XMLHttpRequest
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36
Origin: http://10.15.10.26:32400
Referer: http://10.15.10.26:32400/web/index.html
Accept-Encoding: gzip, deflate

Response Headers:
HTTP/1.1 400 Bad Request
X-Plex-Protocol: 1.0
Access-Control-Expose-Headers: Location, Date
Vary: Origin, X-Plex-Token
Connection: Keep-Alive
Keep-Alive: timeout=20
Content-Encoding: gzip
X-Plex-Content-Original-Length: 31
X-Plex-Content-Compressed-Length: 51
Content-Length: 51
Cache-Control: no-cache
Access-Control-Allow-Origin: http://10.15.10.26:32400
Date: Mon, 16 Aug 2021 20:38:05 GMT

Repsonse Body:
‘agent’ is missing or invalid

The POST body is null. It probably shouldn’t be when trying to add a movies library idk.

If that X-Plex-Token in your post has not been obfuscated you should change your username and password as soon as possible. Here’s the procedure (see “Getting a New Token”):

done. ty for the alert

It looks like you’re using the local/embedded Plex web client. Do you experience the same issue if you use the hosted version at https://app.plex.tv?

That did work, thank you.

No problem, glad it worked.

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