Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Namespace #16

Closed
mcNETDev opened this issue Feb 12, 2023 · 3 comments
Closed

Wrong Namespace #16

mcNETDev opened this issue Feb 12, 2023 · 3 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@mcNETDev
Copy link

Describe what's going wrong
Just found a wrong namespace

Exception in thread "main" SonosGlobalError{errorCode=ERROR_UNSUPPORTED_NAMESPACE, reason='Namespace not found'}
at engineer.nightowl.sonos.api.resource.GroupResource.modifyGroupMembers(GroupResource.java:105)

String.format("/v1/groups/%s/modifyGroupMembers", groupId)
must be
String.format("/v1/groups/%s/groups/modifyGroupMembers", groupId)

same with setGroupMembers

described in https://developer.sonos.com/reference/control-api/groups/modifygroupmembers/

Environment:

  • sonos-api-java version: [e.g. 0.0.22]
  • Sonos API version: [e.g. v1]
@nightowlengineer nightowlengineer self-assigned this Feb 12, 2023
@nightowlengineer nightowlengineer added bug Something isn't working good first issue Good for newcomers labels Feb 12, 2023
@nightowlengineer
Copy link
Owner

Thanks for reporting - I'll try and fix this shortly 🙂

@nightowlengineer
Copy link
Owner

Fixed in 0.0.23 which is being released now. I did spot a couple of other issues which I'll get fixed soon, but this fixes the immediate path issue.

@nightowlengineer
Copy link
Owner

Closing this off - let me know if you have any issues with the latest versions, I've just released 0.0.24 with some additional fixes and dependency bumps in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants