问题
This morning, I tried using Google APIs File Insert where I provided MIME TYPE as application/vnd.google-apps.document.
I am getting the following response from Google API
HttpError: <HttpError 400 when requesting https://www.googleapis.com/upload/drive/v2/files?uploadType=resumable&alt=json returned "Invalid mime type provided">
I replaced MIME TYPE application/vnd.google-apps.document
with application/msword
and the API started working. Has anything changed with Google API?
回答1:
Google reported there was an outage
https://www.google.com/appsstatus#hl=en&v=issue&sid=4&iid=11e934443f5863c5b46aa779c36ff4d3
来源:https://stackoverflow.com/questions/43988753/googles-file-insert-v2-api-fails-to-recognise-mime-type-application-vnd-google