hi
since a few days I always get this error message even I make some group requests;
ERROR_RESOURCE_GONE
Does anyone know what that means? The group is still available and I can see it with;
https://api.ws.sonos.com/control/api/v1/households/HOUSEHOLDID/groups
After about 10 minutes, the group can then be controlled again, without any changes ...
Thank you!
This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.
it looks like the problem comes when sonos rooms are added or removed (over API) to a group..but the group id is always the same. after an undefined time (it can only be a few seconds) is the problem away and I can control it...
here an example;
curl -H "Content-Type: application/json" -H "Authorization: Bearer TOKEN" "https://api.ws.sonos.com/control/api/v1/households/HOUSEHOLDS/groups" | jq '.groups[]'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1582 100 1582 0 0 5568 0 --:--:-- --:--:-- --:--:-- 5570
{
"id": "RINCON_5CAAFDEECFC001400:2737969811",
"name": "Entree + 3",
"coordinatorId": "RINCON_5CAAFDEECFC001400",
"playbackState": "PLAYBACK_STATE_PLAYING",
"playerIds": [
"RINCON_5CAAFDEECFA001400",
"RINCON_5CAAFDEECFB801400",
"RINCON_5CAAFDEECFC001400",
"RINCON_5CAAFDEED07A01400"
]
}
and the command;
curl -H "Content-Type: application/json" -H "Authorization: Bearer TOKEN" "https://api.ws.sonos.com/control/api/v1/groups/RINCON_5CAAFDEECFC001400:2737969811/favorites" -d '{"favoriteId":22, "playOnCompletion":true, "playModes": {"shuffle": false } }'
output is;
{"errorCode":"ERROR_RESOURCE_GONE"}
after a few seconds exactly the same command output is;
{}
and its OK.
many thanks,
marco
here an example;
curl -H "Content-Type: application/json" -H "Authorization: Bearer TOKEN" "https://api.ws.sonos.com/control/api/v1/households/HOUSEHOLDS/groups" | jq '.groups[]'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1582 100 1582 0 0 5568 0 --:--:-- --:--:-- --:--:-- 5570
{
"id": "RINCON_5CAAFDEECFC001400:2737969811",
"name": "Entree + 3",
"coordinatorId": "RINCON_5CAAFDEECFC001400",
"playbackState": "PLAYBACK_STATE_PLAYING",
"playerIds": [
"RINCON_5CAAFDEECFA001400",
"RINCON_5CAAFDEECFB801400",
"RINCON_5CAAFDEECFC001400",
"RINCON_5CAAFDEED07A01400"
]
}
and the command;
curl -H "Content-Type: application/json" -H "Authorization: Bearer TOKEN" "https://api.ws.sonos.com/control/api/v1/groups/RINCON_5CAAFDEECFC001400:2737969811/favorites" -d '{"favoriteId":22, "playOnCompletion":true, "playModes": {"shuffle": false } }'
output is;
{"errorCode":"ERROR_RESOURCE_GONE"}
after a few seconds exactly the same command output is;
{}
and its OK.
many thanks,
marco
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.