Search code examples
google-apigoogle-drive-apimime-typesdrivegoogle-drive-realtime-api

Google's File Insert v2 API fails to recognise MIME TYPE application/vnd.google-apps.document


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?


Solution

  • Google reported there was an outage

    https://www.google.com/appsstatus#hl=en&v=issue&sid=4&iid=11e934443f5863c5b46aa779c36ff4d3