kevinschaich / mintable

πŸƒ Automate your personal finances – for free, with no ads, and no data collection.
https://kevinschaich.io/mintable/
MIT License
1.54k stars 204 forks source link

Error fetching sheets for spreadsheet id <id> #36

Closed jbcurrie closed 4 years ago

dckc commented 5 years ago

I just saw these same symptoms after following the README directions. In particular, yarn setup seemed to go as planned, but yarn mintable said:

$ yarn mintable
yarn run v1.12.3
$ node ./src/scripts/mintable.js

Using config /home/connolly/projects/mintable/mintable.config.json.
Note: The messages displayed below are automated and may contain duplicates.

  βœ” Fetching current config
  βœ” Fetching transactions for account DISCOVER
  βœ” Fetching transactions for accounts
  βœ” Fetching balance for account DISCOVER
  βœ” Fetching balances for accounts
  βœ– Error fetching sheets for spreadsheet id 1-6...be:

    { error: 'Error: The caller does not have permission' }

error Command failed with exit code 1.
kevinschaich commented 5 years ago

Hey @dckc – apologies you're having issues – can you please post a redacted version of your config JSON here? You can omit all tokens/values and just keep maybe the first and last character.

Just want to make sure everything that should have a value is filled in.

SoftWorxDevelopments commented 4 years ago

Γ— Error formatting sheets :

{ error: 'Error: Must specify at least one request.' }

error Command failed with exit code 1.

kevinschaich commented 4 years ago

Suspect this is fixed in the latest version: https://github.com/kevinschaich/mintable/releases/tag/1.2.6.

Suggest you guys try upgrading – if you're still seeing issues you can enable DEBUG mode and paste the results here and we can dig in further.