Skip to content

Caller.py Spotify API GET /search bug if multiple types as params of caller agent output #10

@Chuck1823

Description

@Chuck1823

If the output of the caller agent looks something like:

Caller:
Operation: GET
Input: {
"url": "https://api.spotify.com/v1/search",
"params": {
"q": "Mariah Carey",
"type": "track,album",
"market": "US",
"limit": "20",
"offset": "0",
"include_external": "audio",
"order": "popularity desc"
}
}

Which is valid according to the Spotify OAS, the current code in caller.py will fail because it can't handle multiple values for "type": "track,album". I am going to raise a pull request to fix this.

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