Omnicontacts gem:Outlook invalid_request

时间:2016-05-17 17:29:27

标签: ruby-on-rails ruby outlook omnicontacts-gem

Ruby gem对我们来说非常适合Gmail和Yahoo。通过Outlook及其新API访问时,我们收到以下错误。

注意:这是在我们成功收到params [:code]并尝试获取令牌后发生的。有什么想法吗?

{  
   "error":"invalid_request",
   "error_description":"AADSTS90019: No tenant-identifying information found in either the request or implied by any provided credentials.\r\nTrace ID: 791c90ec-0f53-46c8-b15d-a3fe9f07bf18\r\nCorrelation ID: e7e0d207-2c99-4f88-bb6b-2ea62ec19e1d\r\nTimestamp: 2016-05-17 17:07:43Z",
   "error_codes":[  
      90019
   ],
   "timestamp":"2016-05-17 17:07:43Z",
   "trace_id":"791c90ec-0f53-46c8-b15d-a3fe9f07bf18",
   "correlation_id":"e7e0d207-2c99-4f88-bb6b-2ea62ec19e1d"
}

1 个答案:

答案 0 :(得分:0)

解决方案:需要使用@ outlook.com帐户生成凭据。

您不能使用个人或工作电子邮件地址......事实证明它必须是一个真实的@lookout.com帐户。