Skip to content
This repository was archived by the owner on Jul 4, 2020. It is now read-only.
This repository was archived by the owner on Jul 4, 2020. It is now read-only.

Get Recommendations - Return uniform error-object? #199

@JohnnyCrazy

Description

@JohnnyCrazy

Another thing I would like to address:

Currently, the Get Recommendations-Endpoint returns a very specific error-response (e.g by setting no track/genre/artist seed):

{
  "status" : 400,
  "message" : "invalid request"
}

Would it be possible to change that to behave like all other endpoints? It's described here. It would be really odd to implement another rare error-model into wrappers.

What I would expect:

{
  "error": {
    "status" : 400,
    "message" : "invalid request"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions