Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

googleapiclient.errors.UnknownApiNameOrVersion: name: sheets version: v4 #8

Open
GreedKiwi opened this issue Nov 29, 2022 · 0 comments

Comments

@GreedKiwi
Copy link

Hello, I've been trying to make this work for the past hours, I'm new to python and have a friend trying to help me set this up. Was fixing the errors I was finding in the way but I stumbled into one I couldn't fix, my friend told me to contact you.

image

I even changed the discovery thing in the gsheet.py as i searched for the error online, but it wasn't fixed regardless.

Traceback (most recent call last):
  File "C:\Users\damia\Desktop\discord2sheet-bot-master\init.py", line 10, in <module>
    sheet = gsheet()
  File "C:\Users\damia\Desktop\discord2sheet-bot-master\gsheet.py", line 34, in __init__
    self.service = build('sheets', 'v4', credentials=self.creds)
  File "C:\Users\damia\AppData\Local\Programs\Python\Python311\Lib\site-packages\googleapiclient\_helpers.py", line 130, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "C:\Users\damia\AppData\Local\Programs\Python\Python311\Lib\site-packages\googleapiclient\discovery.py", line 287, in build
    content = _retrieve_discovery_doc(
  File "C:\Users\damia\AppData\Local\Programs\Python\Python311\Lib\site-packages\googleapiclient\discovery.py", line 404, in _retrieve_discovery_doc
    raise UnknownApiNameOrVersion(
googleapiclient.errors.UnknownApiNameOrVersion: name: sheets  version: v4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant