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
Post a Comment