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

error or user error. #57

Open
pat600130 opened this issue Mar 27, 2024 · 1 comment
Open

error or user error. #57

pat600130 opened this issue Mar 27, 2024 · 1 comment

Comments

@pat600130
Copy link

pat600130 commented Mar 27, 2024

so when I click play on a song in the Spotify app scene unity spits out an error

that error is APIException: Invalid context Uri ,am I doing something rong.
I'm using the version from the unity asset store if that helps
the full message is
APIException: Invalid context uri SpotifyAPI.Web.Http.APIConnector.ProcessErrors (SpotifyAPI.Web.Http.IResponse response) (at <db7ef63b4b89422d8e399b25975a049b>:0) SpotifyAPI.Web.Http.APIConnector.DoRequest (SpotifyAPI.Web.Http.IRequest request) (at <db7ef63b4b89422d8e399b25975a049b>:0) SpotifyAPI.Web.Http.APIConnector.DoSerializedRequest[T] (SpotifyAPI.Web.Http.IRequest request) (at <db7ef63b4b89422d8e399b25975a049b>:0) SpotifyAPI.Web.Http.APIConnector.SendAPIRequestDetailed (System.Uri uri, System.Net.Http.HttpMethod method, System.Collections.Generic.IDictionary 2[TKey,TValue] parameters, System.Object body, System.Collections.Generic.IDictionary 2[TKey,TValue] headers) (at <db7ef63b4b89422d8e399b25975a049b>:0) SpotifyAPI.Web.Http.APIConnector.Put (System.Uri uri, System.Collections.Generic.IDictionary 2[TKey,TValue] parameters, System.Object body) (at <db7ef63b4b89422d8e399b25975a049b>:0) SpotifyAPI.Web.PlayerClient.ResumePlayback (SpotifyAPI.Web.PlayerResumePlaybackRequest request) (at <db7ef63b4b89422d8e399b25975a049b>:0) SinglePlaylistSelectableTrack.OnPlayTrack () (at Assets/Spotify4Unity/Examples/Scripts/Spotify App/Prefabs/SinglePlaylistSelectableTrack.cs:82) System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0) UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <f7237cf7abef49bfbb552d7eb076e422>:0) UnityEngine.UnitySynchronizationContext.Exec () (at <f7237cf7abef49bfbb552d7eb076e422>:0) UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <f7237cf7abef49bfbb552d7eb076e422>:0)

@xalsvr
Copy link

xalsvr commented Jun 30, 2024

I get the same error. Any advice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants