0

we are writing our data to the google sheets and uploading them to google drive using the google_drive API.

we are creating session through this command in ruby

@session = GoogleDrive::Session.from_config("config.json")

all client_id,secret_id, refresh token details are mentioned in config.json file. we are blocked with below error

/usr/local/lib/ruby/gems/2.6.0/gems/google_drive-3.0.7/lib/google_drive/session.rb:145:in `from_config': client_id or client_secret is missing in the config. Follow https://github.com/gimite/google-drive-ruby/blob/master/doc/authorization.md to provide a valid config. google_drive library no longer provides the default credential due to a limitation of Google API. (ArgumentError)

Don't know how to proceed with next step on this.

Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449

0 Answers0