Google drive api uploaded file but return 500 error

前端 未结 2 1034
既然无缘
既然无缘 2021-01-26 07:17

I\'m uploading file to google drive by using service account. And It worked w/o any problem for a while. And it started giving 500 error from 2 days ago.

W/Syste         


        
2条回答
  •  迷失自我
    2021-01-26 07:36

    Based on Official Google Documentation '500: Backend Error' is an unexpected error occurred while processing the request. The suggested action is to use exponential backoff.

    Exponential backoff is a standard error handling strategy for network applications in which the client periodically retries a failed request over an increasing amount of time. Exponential backoff may be a good strategy for handling those errors.

    You may also check this stack overflow related ticket which discuss some other work around: Google Drive uploading file size limit

提交回复
热议问题