I got an "Unknown authorization header" exception when I tried to call
SpreadsheetEntry.getWorksheets() java library.
I am using 2-legged OAuth authentication. I was able to get
SpreadsheetEntry object successfully but got this error when calling
getWorksheets() function Here's the url (notice I have to use https://)
to get the SpreadsheetEntry object

https://spreadsheets.google.com/feeds/spreadsheets/private/full/0AuIPtCru64xOdG55eUFMQThKTHhSOVZxQkxabW5rNWc?xoauth_requestor_id=charles%40mellmo.com

If I use just use regular OAuth access token, I will not have this
issue.

I appreciate any help, thank you

        at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse
(HttpGDataRequest.java:563)
        at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse
(GoogleGDataRequest.java:543)
        at com.google.gdata.client.http.HttpGDataRequest.checkResponse
(HttpGDataRequest.java:535)
        at com.google.gdata.client.http.HttpGDataRequest.execute
(HttpGDataRequest.java:514)
        at com.google.gdata.client.http.GoogleGDataRequest.execute
(GoogleGDataRequest.java:515)
        at com.google.gdata.client.Service.getFeed(Service.java:1034)
        at com.google.gdata.client.Service.getFeed(Service.java:897)
        at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:
631)
        at com.google.gdata.client.Service.getFeed(Service.java:916)
        at com.google.gdata.data.spreadsheet.SpreadsheetEntry.getWorksheets
(SpreadsheetEntry.java:128)
-- 
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to google-docs-data-a...@googlegroups.com.
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en.


Reply via email to