I created an authentication using the Documents List API. I have successfully authenticated and can get a token that allows me to see all the documents the user has, but I cannot upload a new document.
I suspect it may be because I am using secure = false for the GData4Ruby AuthSub, but I have changed the API so it is querying http://docs.google.com/feeds/documents/private/full. The Https: version doesn't work either, but probably because I requested an insecure token.
Does anybody know how to 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>
):