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>
}
}
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.