I use https://github.com/gimite/google-drive-ruby library for fetch and 
save data to google spreadsheet

i have run code:

session = GoogleDrive.login(login, password)
file = session.spreadsheet_by_title(title)

file.human_url


And have such error:

GoogleDrive::Error: Response code 400 for get 
https://docs.google.com/feeds/documents/private/full/spreadsheet%3AtwgjwnVyrjJFjTh0U9UZRlA:
 Invalid 
document id: spreadsheet:twgjwnVyrjJFjTh0U9UZRlA
from /google_drive/lib/google_drive/session.rb:411:in `request'

If i use file = session.spreadsheet_by_key(key) - the code "file.human_url" 
works fine


How i can resolve such error?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to