read_integration plex servers: upstream object shape not decoded #16

Closed
opened 2026-09-19 08:21:47 +01:00 by gronod · 0 comments
Owner

Summary

read_integration plex with resource: "servers" fails with UPSTREAM_SCHEMA_MISMATCH — the upstream /api/v1/Plex/servers route returns a JSON object (a wrapper containing the server list), but the handler requires a top-level array.

Environment

Reproduction

read_integration {"action":"plex","resource":"servers"}

Expected

A reference/user page of configured Plex servers including machineIdentifier (needed by plex_libraries).

Actual

{"code":"UPSTREAM_SCHEMA_MISMATCH","message":"upstream response was not a JSON array: json: cannot unmarshal object into Go value of type []map[string]interface {}"}

Impact

The action is unusable, and it is the only route exposing the machine_id required by read_integration plex_libraries — which is therefore also unusable.

Correlation ID

97dea156e1e55cd995d395af

## Summary `read_integration` `plex` with `resource: "servers"` fails with `UPSTREAM_SCHEMA_MISMATCH` — the upstream `/api/v1/Plex/servers` route returns a JSON object (a wrapper containing the server list), but the handler requires a top-level array. ## Environment - Binary: deployed darwin-amd64 build from `develop` @ `d047d76` - Ombi: 4.53.10 (https://ombi.i3omb.com), JWT auth ## Reproduction ```json read_integration {"action":"plex","resource":"servers"} ``` ## Expected A reference/user page of configured Plex servers including `machineIdentifier` (needed by `plex_libraries`). ## Actual ```json {"code":"UPSTREAM_SCHEMA_MISMATCH","message":"upstream response was not a JSON array: json: cannot unmarshal object into Go value of type []map[string]interface {}"} ``` ## Impact The action is unusable, and it is the only route exposing the `machine_id` required by `read_integration plex_libraries` — which is therefore also unusable. ## Correlation ID `97dea156e1e55cd995d395af`
gronod added this to the M6 — Integration options and server-id discovery milestone 2026-09-19 08:58:05 +01:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Reference: gronod/ombi-mcp#16