Internal Server Error When Linking Sonos

Server Version#: 1.32.5.7349
Player Version#: Plex Web 4.111.1

I seem to be having the same issue that is described in this thread:

I am unable to link my Sonos account to my Plex account. I have tried linking from the “other services” page (https://plex.tv/users/other-services) as well as from the “cast” dropdown in the web app. Each time I get a 500 error response, “Internal Server Error”.

This issue persists on multiple different networks, with different ISPs, as well as on cellular data. This issue has persisted for me over several weeks, so I don’t think this is a temporary network issue. I believe there is some bad data associated with my account as described in the previous thread I have linked.

Here is the raw HTTP request and response via curl:

curl -i 'https://sonos.plex.tv/link?X-Plex-Token=REDACTED&next=https://plex.tv/users/other-services' \
  -H 'authority: sonos.plex.tv' \
  -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8' \
  -H 'accept-language: en-US,en;q=0.9' \
  -H 'cache-control: max-age=0' \
  -H 'cookie: plex_utm=REDACTED' \
  -H 'referer: https://plex.tv/' \
  -H 'sec-ch-ua: "Not.A/Brand";v="8", "Chromium";v="114", "Brave";v="114"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "macOS"' \
  -H 'sec-fetch-dest: document' \
  -H 'sec-fetch-mode: navigate' \
  -H 'sec-fetch-site: same-site' \
  -H 'sec-fetch-user: ?1' \
  -H 'sec-gpc: 1' \
  -H 'upgrade-insecure-requests: 1' \
  -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36' \
  --compressed
HTTP/2 500 
date: Wed, 26 Jul 2023 14:18:39 GMT
content-type: text/plain; charset=utf-8
content-length: 21
access-control-allow-origin: *
cache-control: no-store
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
cf-cache-status: DYNAMIC
server: cloudflare
cf-ray: 7ecd45eb68136384-ORD

Internal Server Error

@chrisc or @vanstinator would it be possible to perform the same steps on Plex’s end for my account that are described here? Sonos.plex.tv : Internal Server Error - #15 by chrisc

While I’m not able to link my Sonos account from Plex (via other services or the Plex Web UI), if I attempt to add my Plex account in the Sonos mobile app the authorization step does succeed.

After adding the Plex account in the Sonos app I receive the error “Unable to browse music” when attempting to access Plex. This user is reporting the same issue: Plex on Sonos: Unable to Browse Music

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