is this a new install (of pi OS and/or headless plexamp) that isn’t working, or is this a previously functional setup that’s no longer working ?
and which plexamp app or interface are you using when you see the error ? (browser, mobile app, etc)
full plexamp logs from headless might show more info