Skip to content

Show search returns nil items #253

@domchristie

Description

@domchristie

Hey, I'm trying to perform a basic Show search. I authenticate with my credentials and call the search method, however, the items array in the response is just a load of nils and so it throws an error when attempting to initialize a Show:

RSpotify.authenticate("…", "…")
# => true
RSpotify::Show.search("NPR")

Throws:

rspotify/show.rb:48:in `initialize': undefined method `[]' for nil:NilClass (NoMethodError)

Any pointers for a fix?

Many thanks!

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