Google.GData.Spreadsheets 上的 404 错误

404 error on Google.GData.Spreadsheets

我的电子表格应用程序在过去的几个月里运行良好。 但它现在不起作用(抛出 404 错误)。

代码如下:

SpreadsheetsService service = new SpreadsheetsService("appname");
service.setUserCredentials(userName, password);

// It worked fine, but now I got 404
string token = service.QueryClientLoginToken();

感谢您的answers/feedbacks

谢谢

编辑:您最后一次尝试使用该服务是什么时候?因为网站上写着:

Important: OAuth 1.0 is no longer supported and will be disabled on May 5, 2015. If your application uses OAuth 1.0, you must migrate to OAuth 2.0 or your application will cease functioning.

您确定已执行所有必需的步骤来创建对服务的查询请求吗?

查看 gdata 文档 https://developers.google.com/google-apps/spreadsheets/authorize