0

I am trying to edit a public spreadsheet (key = 0Av4aUydPYoNAdHV2MnRaSFhrY0NSZnNOS28yTlhRTVE) on my google_drive using Java and gdata api, but without success. I change the url from https://spreadsheets.google.com/feeds/worksheets/key/private/full to https://spreadsheets.google.com/feeds/worksheets/0Av4aUydPYoNAdHV2MnRaSFhrY0NSZnNOS28yTlhRTVE/private/full , but returns:

Exception in thread "main" com.google.gdata.util.InvalidEntryException: Bad Request

What does this mean?

josecampos
  • 851
  • 1
  • 8
  • 25

1 Answers1

0

The URL you are using is invalid, the correct one has /private/ instead of /public/, as in:

https://spreadsheets.google.com/feeds/worksheets/0Av4aUydPYoNAdHV2MnRaSFhrY0NSZnNOS28yTlhRTVE/private/full

Claudio Cherubino
  • 14,896
  • 1
  • 35
  • 42