Python中的Microsoft Graph API for SharePoint:Microsoft.SharePoint.Client.UnknownError

我们发出以下查询:

{u'parentReference': {u'path': u'/drive/root:/Main'}, u'name': u'BusinessDailyTemplate.xlsb'} 

到端点

 […path to the file…]:/copy 

如下

 requests.post('[…path to the file…]BusinessDailyTemplate.xlsb:/copy', json={'parentReference': {'path': '/drive/root:/Main'}, 'name': 'BusinessDailyTemplate.xlsb'}, headers={'Authorization': 'Bearer [...long authorisation token...]'}) 

截至本周六,所有类似请求都会出现以下错误:

 { "error": { "code": "-1, Microsoft.SharePoint.Client.UnknownError", "message": "Unknown Error", "innerError": { "request-id": "b82e6e21-b75c-4e18-a6fe-5d6a8e4ec99e", "date": "2017-11-06T19:11:50" } } } 

星期四以来没有任何代码变更,星期四和星期五的查询运行良好。 他们星期六突然停止工作。 所以我们很确定问题不在代码中。

经过几天的testing和头脑风暴,我们完全陷入困境。 你能帮我们吗?