It only works for public sheets because public sheets can be accessed without authorization. You're not authorizing when pulling the /private URL, and thus a 404 is returned.
A 404 is returned even though authorization is required so that unauthorized people cannot tell if a spreadsheet of a given key exists or not. Thanks, -Vic On Tue, Mar 15, 2011 at 7:31 PM, Ken Ficara <[email protected]> wrote: > I want to get a values feed for a worksheet in a private spreadsheet. I'm > authenticated using AuthSub. > > This URL returns 404: > > > https://spreadsheets.google.com/feeds/worksheets/tWtWxA6yuPfjq7WaRhHfhdQ/private/values/od6?alt=json > > This URL returns JSON (this particular spreadsheet is public, but the ones > I want to work with are not): > > > https://spreadsheets.google.com/feeds/worksheets/tWtWxA6yuPfjq7WaRhHfhdQ/public/values/od6?alt=json > > Why does the JSON output only work for public spreadsheets? Or am I doing > something wrong? > > >
