Vic,

Thank you for your response and assistance.

The spreadsheet is definitely within the expected folder. When I create the 
spreadsheet, I am using 
"https://docs.google.com/feeds/default/private/full/folder%3AFOLDERID/contents"; 
and I can see the spreadsheet in the correct folder via the Google Docs web 
site.

Thanks for the info about folder not being found via the Spreadsheets API. I 
guess that would explain why I couldn't find it :-) That is definitely a 
feature I think should be added. When I try to use the Documents List API I 
get an error which reads "Invalid request URI". I have tried:

var requestUrl = "https://docs.google.com/feeds/default/private/full";;

as well as:

var requestUrl = 
"https://docs.google.com/feeds/default/private/full/-/spreadsheet";;

Here is my JavaScript. I am logging the value for GoogleDocsAuthKey so I do 
know I have an authorized connection to the Google account (I connected to 
the writely service). I'm sure I'm doing something stupid but I do not see 
what. I can get a list of spreadsheets using the Spreadsheet API and using 
the wisely-authorized connection.

  var ajaxRequest = new Ajax.Request(requestUrl,
    {
      method: "GET",
      evalJSON: "false",
      requestHeaders: [ "Authorization", GoogleDocsAuthKey ],
      onSuccess: this.getSpreadsheetsSuccess.bind(this),
      onFailure: this.ajaxFailure.bind(this)
    }
  );

Thank you,
Scott

Reply via email to