2013-10-11 96 views
2

我有一個文件(這恰好沒有內容)在驅動器上,我試圖更新它的indexableText。可悲的是,而不是一個幸福的微笑200,我得到一個悲傷的臉500更新indexableText時爲什麼會出現500內部錯誤?

請求...

PUT https://www.googleapis.com/drive/v2/files/0Bw3h_yCVtXbbTndiNFFkLUEwWlk?useContentAsIndexableText=false&key={YOUR_API_KEY} 

Content-Type: application/json 
Authorization: Bearer ya29.AHES6ZQcOn0zqZoxM_4Wrpj00xPIb2BuDjAai0qLUnE6-JVdxMUsDg 
X-JavaScript-User-Agent: Google APIs Explorer 

{ 
"indexableText": { 
    "text": "foofoo barbar" 
} 
} 

響應...

500 Internal Server Error 

- Show headers - 

{ 
"error": { 
    "errors": [ 
    { 
    "domain": "global", 
    "reason": "internalError", 
    "message": "Internal Error" 
    } 
    ], 
    "code": 500, 
    "message": "Internal Error" 
} 
} 

回答

相關問題