Comments (9)
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.
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.
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.
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.
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 .
from gspread.
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.
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.
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.
That's great to read that.
My pleasure.
Thank you for coming back to us.
Closing this issue
from gspread.
Related Issues (20)
- py.typed is not included HOT 1
- return empty cell to old default (None not "None") HOT 1
- Error cannot import name 'Literal' from 'typing' - gspread 6.0.0, python3.7 HOT 1
- Add new `Worksheet` init arguments to migration guide
- Update examples of gspread usage /Readme.md HOT 8
- Reorder gspread client init arguments HOT 1
- improve documentation HOT 2
- cell.expand('table') feature requests HOT 7
- add `value_render_option` to examples (automatic conversion of currency) HOT 6
- Update conda forge package HOT 2
- A way to add DataValidation HOT 6
- Missing py.typed marker HOT 1
- AttributeError: 'HTTPClient' object has no attribute 'import_csv' HOT 3
- Unable to read public readonly spreadsheet HOT 4
- Add missing types HOT 2
- Disambiguating and filling in headers similar to Pandas HOT 8
- worksheet.add_protected_range() - impossible to create the `warning_only=True` range HOT 2
- ADC Authentication HOT 2
- HTTPSConnectionPool(host='oauth2.googleapis.com', port=443): Max retries exceeded with url: /token (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1000)'))) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gspread.