Skip to content

Flatten Spotify Error object  #57

@mrf7

Description

@mrf7

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions