Skip to content

Document configuration class more thoroughly #3

Description

@f4n

Describe what's going wrong
Couln't use the library: "Invalid token". Please describe what the sonos applicationId is. Do we need other settings e.g. event callback url or something else?

Log

15:25:09.713 INFO  [main] e.nightowl.sonos.api.SonosApiClient - Initialising sonos-api-java:0.0.9
15:25:09.717 DEBUG [main] e.nightowl.sonos.api.SonosApiClient - Using default HttpClient
15:25:10.161 DEBUG [main] e.n.sonos.api.resource.GroupResource - Sending request to https://api.ws.sonos.com/control/api/v1/households/householdId/groups
Exception in thread "main" engineer.nightowl.sonos.api.exception.SonosApiClientException: Invalid token
	at engineer.nightowl.sonos.api.resource.BaseResource.callApi(BaseResource.java:81)
	at engineer.nightowl.sonos.api.resource.BaseResource.getFromApi(BaseResource.java:178)
	at engineer.nightowl.sonos.api.resource.GroupResource.getGroups(GroupResource.java:51)
	at SonosTest.main(SonosTest.java:21)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions