Rails Google Data List API AuthSub Token Invalid -


i created authentication using documents list api. have authenticated , can token allows me see documents user has, cannot upload new document.

i suspect may because using secure = false gdata4ruby authsub, have changed api querying http://docs.google.com/feeds/documents/private/full. https: version doesn't work either, because requested insecure token.

does know how fix this? exact error:

gdata4ruby::httprequestfailed (<html> <head> <title>token invalid</title> </head> <body bgcolor="#ffffff" text="#000000"> <h1>token invalid</h1> <h2>error 401</h2> </body> </html> ):  

nevermind, figured out. had problem using gdocs4ruby, in source gem, authenticating google auth token, received token through authsub. therefore, have change post request not pass token label header "authsub" rather "google auth"


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -