Skip to content

Tutorial 13 - unsupported type for timedelta seconds component: NoneType #11

@snipercool

Description

@snipercool

Hi,
First great tutorial but im stuck with the spotify authentication. for some reason when he redirects it says /spotify/util.py line 22 in update_or_create_user_tokens

expires_in = timezone.now() + timedelta(seconds=expires_in)

and my local vars are:

Variable | Value
access_token | None
expires_in | None
refresh_token | None
session_id | 'oxfrwmlxgj4ujn81fnigvc0u5xmt5kyx'
token_type | None
tokens | None

why are they all None. I even tried copy pasting your files to my code

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