403访问Google Drive API downloadURL时出现禁止的错误 [英] 403 Forbidden error when accessing Google Drive API downloadURL
问题描述
我一直在使用Google Drive API在本地进行大量开发,但突然间我无法再使用downloadUrl链接访问文件。
我想知道我是否被封锁或者其他任何东西,尽管我看不到API限制下应该如何。 403不是友好的Google,而是一个标准:
HTTP错误403(禁止):服务器拒绝履行请求
有什么想法?感谢! 解决方案
检查 403响应中的错误消息,它会给你一些信息。您可能必须执行指数回退。
I've been doing a lot of development locally with the Google Drive API, but suddenly I'm no longer able to access files using the downloadUrl link.
I'm wondering if I've been blocked or anything, although I can't see how as I should be well under the API limit. The 403 isn't the friendly Google one, but a standard:
HTTP Error 403 (Forbidden): The server refused to fulfill the request
Any ideas? Thanks!
Check the error messages on the 403 responses, it will give you some information. You may have to perform exponential backoff.
这篇关于403访问Google Drive API downloadURL时出现禁止的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!