api - 有时我在使用 Microsoft Graph API 调用 /Users 端点时收到“DocumentDB Provider is not initialized”错误
问题描述
我正在使用下面的 MS 图形端点,它工作正常,但有时会抛出以下错误。
{ "error": { "code": "InternalServerError", "message": "DocumentDB Provider is not initialized", "innerError": { "date": "2021-03-16T04:40:16", "request- id": " ", "client-request-id": " " } } }
下面是请求。
{方法:'GET',uri:'https://graph.microsoft.com/v1.0/users',qs:{'$select':'faxNumber,accountEnabled,assignedLicenses,assignedPlans,businessPhones,employeeId,city, companyName,country,department,displayName,givenName,id,jobTitle,mail,mailNickname,mobilePhone,officeLocation,onPremisesImmutableId,onPremisesLastSyncDateTime,onPremisesSecurityIdentifier,onPremisesSyncEnabled,passwordPolicies,passwordProfile,postalCode,preferredLanguage,provisionedPlans,proxyAddresses,state,streetAddress,surname,usageLocation, userPrincipalName,userType', '$expand': 'extensions', '$top': 50, '$skiptoken': "nextlink" }, headers: { 'User-Agent': 'Aquera', Authorization: 'Bearer token' ,“内容类型”:“应用程序/json”},正文:未定义,超时:40000,resolveWithFullResponse: 真 }
请帮助理解我为什么会出错。
谢谢
解决方案
推荐阅读
- javascript - 如何使用迭代器对象遍历 JS 集(ES6)值?
- python - Python中的实例和对象有什么区别?
- reactjs - 如何使用正确的类型安全注入将 mobx-react 5 迁移到 6?
- javascript - HTML CSS JS:悬停在图像上时无法打开弹出信息框
- view - 重用视图而不将绑定传递给每个中间视图
- java - 如何将我的水平滚动条锚定到 JScrollPane 的顶部
- angular - 带有 Angular/Protractor 测试套件的 ScriptTimeoutError
- python - 用yagmail发送图片不起作用
- python - 缺少参数的 Django allauth 错误?
- r - 多元线性回归中的交互项