Skip to content

Can't find the data items #8

@RobertJanVlak

Description

@RobertJanVlak

When i try to run the code i get the following error:
"TypeError: Cannot read property 'item' of undefined"

It's about this piece of code:
success: data => { this.setState({ item: data.item, is_playing: data.is_playing, progress_ms: data.progress_ms });

So all the steps are working perfect. I get the autentication screen from spotify, and the moment i click accept i get this error and i can't seem to find the solution for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions