Skip to content

Python starter code doesn't work #38

Description

@kartikey-git

I followed the Xero "Up and Running with xero-python-oauth2-starter project" tutorial on youtube.

I have tried to implement it multiple times and it just doesn't work.

There are multiple comments on youtube and GitHub in the last few months from other people too. I have followed it carefully step by step and haven't missed any detail.

Here's a detailed explanation of what's not working :-

After completing all steps when I first went to localhost:5000 after running the app this is the error I got -

Untitled (1)

After some searching, I found out that this is due to flask-session error. So I ran these commands -

pip uninstall Flask Flask-Session
pip install Flask Flask-Session

Then I again followed the tutorial and got this error instead-
Untitled (2)

Here is the screenshot of the VS code terminal window -
Untitled (3)

Addtional Details -
I am running this on Mac (M2).
Editor - VS code.

I made sure that the URI is correct, Client secret and client ID is correct. I followed the tutorial multiple times perfectly. Please tell me what I need to do to get this working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions