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

Flatten Spotify Error object #57

Open
mrf7 opened this issue Jun 14, 2020 · 0 comments
Open

Flatten Spotify Error object #57

mrf7 opened this issue Jun 14, 2020 · 0 comments

Comments

@mrf7
Copy link
Owner

mrf7 commented Jun 14, 2020

Spotify returns errors as below with the error body wrapped in an error object. This forces us to parse it as a SpotifyError with a SpotifyErrorBody as a property. Ideally we'd be able to flatten this resposnes into just the error body.

{
    "error" : {
     <error body>
    }
}
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

1 participant