Skip to main content

problem with group actions "ERROR_RESOURCE_GONE"

  • October 22, 2018
  • 2 replies
  • 702 views

Forum|alt.badge.img
  • Contributor II
  • 5 replies
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!
Did you find what you were looking for?
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.

2 replies

Forum|alt.badge.img
  • Author
  • Contributor II
  • 5 replies
  • October 24, 2018
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

Matt W
Forum|alt.badge.img+1
  • Sonos Employee
  • 32 replies
  • October 25, 2018
In general, this forum is not for developer support of the platform, but rather for discussion of third party integrations with our platform. For getting help actually implementing our platform, you can refer to this page: https://developer.sonos.com/support/

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings