Here’s my error
Traceback (most recent call last):
File "main.py", line 44, in <module>
sheets_api = build('sheets', 'v4', credentials=credentials)
File "/home/runner/Writer/venv/lib/python3.10/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
return wrapped(*args, **kwargs)
File "/home/runner/Writer/venv/lib/python3.10/site-packages/googleapiclient/discovery.py", line 287, in build
content = _retrieve_discovery_doc(
File "/home/runner/Writer/venv/lib/python3.10/site-packages/googleapiclient/discovery.py", line 404, in _retrieve_discovery_doc
raise UnknownApiNameOrVersion(
googleapiclient.errors.UnknownApiNameOrVersion: name: sheets version: v4
I’m getting this issue after uploading my .json file, which is my google credentials. This allows me to edit and modify google sheets on my account. It works locally, but I’m receiving this error after copying the contents of the .json file, and then creating the file on my Replit.
Any help would be appreciated from you guys!