Server Version: 1.42.2.10156-f737b826c
Player Version: Web Interface (latest)
Debug Logging: Enabled (not verbose)
Request for Admin/Expert Review: Server Claimed but All Tokens Return 403 Forbidden
Requesting assistance from a Plex administrator or expert who can review account-level permissions, as this appears to be an account authentication issue rather than a server configuration problem.
Problem Summary
After migrating a Plex Media Server (working perfectly for years) to new hardware, the server successfully claims to the account via proper API procedures, but all authentication tokens returned have zero permissions - every plex.tv API call returns 403 Forbidden, making the server completely inaccessible through the web interface despite being claimed.
Current State
What Works:
Server claims successfully via /myplex/claimAPI (returns HTTP 200)
Server reports claimed="1"in identity endpoint
Server responds to local API calls
All 19 libraries accessible via local API with authentication token
MyPlex response shows signInState="ok",mappingState="mapped",subscriptionActive="1"
What Doesn’t Work:
Web interface access: “Not authorized - You do not have access to this server”
All plex.tv API calls return 403 Forbidden:
https://plex.tv/api/v2/server/users/features→ 403https://plex.tv/api/v2/server/access_tokens→ 403http://localhost:32400/myplex/account?X-Plex-Token=TOKEN→ 403 (even basic account info)
Platform Details
- OS: Linux (Debian-based)
- Installation: Standard APT package
- Network: Standard local network, no VPN/proxy
- Subscription: Active Plex Pass
- Libraries: 19 libraries, all intact from previous server
Detailed Troubleshooting Performed
Attempt 1: Standard API Claim Process
Steps:
-
Backed up
Preferences.xml -
Stopped Plex Media Server
-
Removed authentication attributes:
PlexOnlineToken,PlexOnlineUsername,PlexOnlineMail -
Obtained claim token from https://www.plex.tv/claim
-
Exchanged via API:
curl -X POST https://plex.tv/api/claim/exchange?token=CLAIM_TOKEN \ -H "X-Plex-Client-Identifier: PROCESSED_MACHINE_ID" -
Received full XML response with
authToken -
Updated
Preferences.xmlwith credentials -
Corrected file permissions (
chown plex:plex) -
Restarted server
Result:
-
Server claimed successfully
-
Immediate 403 errors in logs:
ERROR - MyPlex: Error 403 requesting XML from: https://plex.tv/api/v2/server/access_tokens?auth_token=xxxx ERROR - MyPlex: Couldn't get list of access tokens from myPlex.
Attempt 2: Local Network Access Configuration
Steps:
- Added
allowedNetworks="127.0.0.1,LOCAL_NETWORK/24"toPreferences.xml - Restarted server
- Attempted access via local IP with LocalAdminToken
- Tested web access from same subnet
Result: Still “Not authorized” despite proper network configuration
Attempt 3: Multiple Complete Unclaim/Reclaim Cycles
Steps performed 3 times:
-
Stopped server
-
Completely removed all auth attributes from
Preferences.xml -
Restarted server (verified
claimed="0") -
Generated fresh LocalAdminToken
-
Obtained new claim token from plex.tv/claim
-
Used LocalAdminToken to claim:
curl -X POST "http://127.0.0.1:32400/myplex/claim?token=CLAIM_TOKEN" \ -H "X-Plex-Token: LOCAL_ADMIN_TOKEN" -
Received HTTP 200 OK with complete MyPlex XML response
-
New authToken created
Result (all 3 attempts):
- Claim succeeds (HTTP 200, proper XML response)
- Server shows
claimed="1" - But authToken has zero permissions - all API calls return 403
Attempt 4: Account Device Cleanup
Steps:
- Logged into plex.tv account
- Removed ALL authorized devices from account
- Signed out everywhere
- Completely unclaimed server
- Obtained fresh claim token post-cleanup
- Claimed server with new token
Result:
- Same issue persists
- New tokens still have no permissions
- 401/403 errors continue
Log Evidence
Successful Claim Response:
<MyPlex authToken="[TOKEN_RECEIVED]"
username="[ACCOUNT]"
mappingState="mapped"
mappingError="publisherror"
signInState="ok"
subscriptionActive="1"
subscriptionState="Active">
Server Identity Confirms Claimed:
<MediaContainer claimed="1"
machineIdentifier="[ID]"
version="1.42.2.10156-f737b826c">
But Consistent Log Errors:
ERROR - MyPlex: Error 401 requesting JSON from:
https://plex.tv/api/v2/server/users/features
ERROR - MyPlex: Error 403 requesting JSON from:
https://plex.tv/api/v2/server/users/features
ERROR - MyPlex: Error 403 requesting XML from:
https://plex.tv/api/v2/server/access_tokens?auth_token=xxxx
ERROR - MyPlex: Couldn't get list of access tokens from myPlex.
Token Completely Unusable:
# Even basic account info fails
curl "http://localhost:32400/myplex/account?X-Plex-Token=AUTH_TOKEN"
# Returns: <h1>403 Forbidden</h1>
Technical Analysis
The pattern suggests an account-level permission issue rather than server configuration:
-
Claim process works correctly:
- Proper HTTP 200 responses
- Valid XML with all expected fields
- Server reports as claimed
- Tokens are created
-
But tokens lack ALL permissions:
- Cannot access
/api/v2/server/users/features - Cannot access
/api/v2/server/access_tokens - Cannot access
/myplex/account - Cannot perform ANY plex.tv API operations
- Cannot access
-
Local operations work fine:
- Server healthy and responding
- Libraries accessible with token locally
- No network/firewall issues
Questions for Plex Team
-
Account-level restrictions: Could removing all authorized devices have triggered some account security lockdown?
-
Token permissions: Why would tokens obtained through proper claiming (with HTTP 200 success) have zero API permissions?
-
API 403 pattern: Is there a known issue where migrated servers receive tokens without proper permission scopes?
-
Recovery method: How can an account be reset/verified to ensure tokens receive full permissions?
Additional Context
- Library worked perfectly for years on previous hardware
- Only hardware/OS changed - library structure identical
- No unusual network configuration (no VPN, proxy, or firewall issues)
- Account in good standing with active Plex Pass
- Problem persists across multiple fresh claim attempts
- Even brand new tokens after device cleanup show same issue
Request
Could a Plex administrator please review the account to identify why authentication tokens are being created without proper permissions? This appears to be an account-level issue that cannot be resolved through standard claiming procedures.
Thank you for any assistance!