I am using the java google drive API to upload some files to various Google Drive folders. The user whose credentials I use has access to all folders.
I download about 100 PDF files and 100 CSV files from two different servers running CentOS. These are usually updates, although I sometimes insert files. These files are between 35 and 700 bytes in size, so they are small.
About a week ago, I started getting exceptions when loading CSV files (but not into PDF files). Exceptions are as follows:
com.google.api.client.googleapis.json.GoogleJsonResponseException: 500 Internal Server Error
{
"code" : 500,
"errors" : [ {
"domain" : "global",
"message" : "Internal Error",
"reason" : "internalError"
} ],
"message" : "Internal Error"
}
at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:145)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
csv, ( , : Google Drive SDK - 500: : ).
503 :
com.google.api.client.googleapis.json.GoogleJsonResponseException: 503 Service Unavailable
{
"code" : 503,
"errors" : [ {
"domain" : "global",
"message" : "Backend Error",
"reason" : "backendError"
} ],
"message" : "Backend Error"
}
at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:145)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:312)
, - , ( API).
Google , API- Drive : http://www.google.com/appsstatus#hl=en&v=status
API, API, .
:
- java 1.6.0_25-b06
- google-api-services-drive: v2-rev126-1.18.0-rc
- jackson: com.google.api.client.json.jackson.JacksonFactory
- com.google.api.client.http.javanet.NetHttpTransport()
, : https://developers.google.com/drive/web/handle-errors#implementing_exponential_backoff, 403 .
SO. , - : 500 v3 API: GoogleJsonResponseException, .
. , , -, Google (https://developers.google.com/drive/support)
Update:
. :
PDF , , (~ 20). csv 2000+. , .