Trying to add folder to library...."Your changes could not be saved." BAD API CALL

Server Version#: LATEST — downloaded from Plex.tv

So i have tried just added a freaking folder to my library…something that you need to do to use the server and i keep just getting this message…“Your changes could not be saved.”

I have tried this on 2 different macs (mini & macbook pro) and a raspberry pi with 3 different browsers. ALL ERROR OUT. Being a developer, i open up the web console and see the problem right here:

POST http://192.168.1.95:32400/library/sections?name=Movies&type=movie&agent=tv.plex.agents.movie&scanner=Plex%20Movie&language=en-US&importFromiTunes=&enableAutoPhotoTags=&location=%2Fmedia%2Fslee%2Fmedia%2FVideo%2FMovies&X-Plex-Product=Plex%20Web&X-Plex-Version=4.87.2&X-Plex-Client-Identifier=j20ifxnbb4sqpaeb6ol1u93c&X-Plex-Platform=Chrome&X-Plex-Platform-Version=108.0&X-Plex-Features=external-media%2Cindirect-media%2Chub-style-list&X-Plex-Model=bundled&X-Plex-Device=OSX&X-Plex-Device-Name=Chrome&X-Plex-Device-Screen-Resolution=933x852%2C1680x1050&X-Plex-Token=UZNorjNVya3myrdxZyRc&X-Plex-Language=en 400 (Bad Request)

Something is wrong with either the API call or the API itself. Not sure if there is even a workaround here without getting Plex involved but if anyone has a solution here, please help!

Side note…i pay for this product. it really freaking sucks that it’s impossible to contact Plex itself when we run into a bug that stops us from using it.

2 Likes

Same here reported by one of our users and replicated. Server logs show

Feb 20, 2023 18:24:39.896 [0x7f2c270c2b38] ERROR - [Req#22b] Library: Couldn't create section: 'agent' is missing or invalid
Feb 20, 2023 18:24:39.896 [0x7f2c270c2b38] ERROR - [Req#22b] Library: Couldn't create section: 'language' is invalid

Restarting the service once solves the issue. The secondly errors in browser console remain, but seem to be not related.

systemctl restart plexmediaserver

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