I have a google service account set up so I can run python scripts that access google sheets. I have my work laptop and the office computer set up to run the same script. Office got a new computer and when I set up the script again it lost access to google sheets. I'm using pygsheets for this and spreadsheet_titles() on work laptop shows access to 3 more files than when I run it on the office computer. Question is I only have the one service account how can it have different permissions? The script will not run on new office computer due to file not found error. What could be causing this? Everything worked as expected when I set it up on the old computer. Thanks in advance.
I tried removing access and regranting access of the files to the service account. Removing one of the 3 files works as expected on laptop but had no effect for office computer. Removing access to a file both computer show access to worked as expected on both computer