Giter VIP home page Giter VIP logo

Comments (9)

Brigidi avatar Brigidi commented on June 2, 2024 1

thank you — confirming that v6.0.1 has resolved this issue. I greatly appreciate how quickly you responded to my issue and that you followed up once the patch was released. I can't thank you enough

from gspread.

lavigne958 avatar lavigne958 commented on June 2, 2024

Hi thank you for raising the issue.

We currently face some issues with the oauth method but not this issue.

I actually tested the oauth with the coming fix (not released yet) and it worked.

Could this be related to #1390 ?

from gspread.

Brigidi avatar Brigidi commented on June 2, 2024

Thanks for responding so promptly — I did not experience any issues with reauth; I was only receiving errors saying I could not be authorized.

I experimented with a few things, most notably, declaring the file path to my credentials and authorized user json files in my config directory:

# gspread access
access = gspread.oauth(
    credentials_filename='/path/to/file/credentials.json',
    authorized_user_filename='/path/to/file/authorized_user.json'
)

Unfortunately, it did not work. The only way for me to resume functionality was to revert to the previous version of gspread.

Hopefully, this issue will be solved with the new release. Happy to do anything I can help, so please let me know if I can be of any assistance. (P.S. — Is there a timeline for when the new release will happen?)

from gspread.

lavigne958 avatar lavigne958 commented on June 2, 2024

I see, that's a good investigation to check with the file names and check they are being created.

You can specify the flow to use as well, currently due to Google limitations only the local_server_flow works. You can try specifying it.

In terms of timeline we have about 2 PRs to merge then we'll make the patch version 6.0.1

from gspread.

lavigne958 avatar lavigne958 commented on June 2, 2024

Btw I found the following stack overflow link that mentions the same error and the first response seems to explain some details about the url being used and which must be configured in your Google cloud console, I recommend checking it out .

https://stackoverflow.com/questions/69072079/google-oauth2-integration-error-400-redirect-uri-mismatch

from gspread.

Brigidi avatar Brigidi commented on June 2, 2024

I'll be sure to check it out once I return to my computer. Having read the post on mobile, I'm wondering why my experience would change between v5.12.4 and 6.0.0?

I discovered the problem today bc I started a new project. All legacy projects compile without error.

I merely mention the above as context. I'll continue exploring the problem and will update with any discoveries.

from gspread.

Brigidi avatar Brigidi commented on June 2, 2024

I had a chance to explore more and I think my issue is likely related to #1390. However, one aspect that I just want to note: when I receive the redirect_uri_mismatch error and add the URI to cloud platform, I am able to return results (I'm reading data from a Google Sheets workbook). If I re-run the code then I receive the error again and have to add another uri to cloud platform, which seems to be similar to the re-auth aspect of 1390.

Hopefully, this context is helpful.

from gspread.

lavigne958 avatar lavigne958 commented on June 2, 2024

Hi @bastienboutonnet your issue should be fixed now with the latest v6.0.1 release, it would be great for us when you get a chance to test it and come back to us if it's fixed or not.

Thank you.

from gspread.

lavigne958 avatar lavigne958 commented on June 2, 2024

That's great to read that.

My pleasure.

Thank you for coming back to us.

Closing this issue

from gspread.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.