errorLineCount = 1 当使用上传过程中没有明显的错误

errorLineCount = 1 when no obvious errors during usage upload

我正在尝试将使用数据发送到 Microsoft Recommendation API。这是我的要求:

 POST /recommendations/v4.0/models/ccfb261a-ae96-4ae8-be43-15571fc47a66/usage?usageDisplayName=instasell  
 Ocp-Apim-Subscription-Key: xxxxxxxx
 Content-Length: 409
 Content-Type: text/plain; charset=ISO-8859-1
 Host: westus.api.cognitive.microsoft.com
 Connection: Keep-Alive
 User-Agent: InstaSell.ru
 Accept-Encoding: gzip,deflate
 "19vu1oowsiupsrnnln7eu82ln,8,2016/06/15T01:16:30,AddShopCart[\n]"
 "19vu1oowsiupsrnnln7eu82ln,8,2016/06/15T01:16:30,AddShopCart[\n]"
 "77,8,2016/06/15T01:16:30,AddShopCart[\n]"
 "77,9,2016/06/15T01:16:30,AddShopCart[\n]"
 "77,134,2016/06/15T01:16:30,Click[\n]"
 "77,134,2016/06/15T01:16:30,AddShopCart[\n]"
 "77,134,2016/06/15T01:16:30,AddShopCart[\n]"
 "77,8,2016/06/15T01:16:30,AddShopCart[\n]"
 "77,8,2016/06/15T01:16:30,AddShopCart[\n]"
 "77,8,2016/06/15T01:16:30,Click"

但收到以下响应:

{  
   "fileId":"c224766e-1e2a-405e-9367-37a0d36973d0",
   "processedLineCount":10,
   "errorLineCount":1,
   "importedLineCount":9,
   "errorSummary":[  

   ]
}

我没有看到 10 行有任何差异。然而微软 api 投诉。你能帮忙吗?

啊!我终于明白了这个问题。看起来我正在尝试导入关于 API.

未知项目的用法

当我导入目录时,我过滤了一些无效的products/items。但使用数据包括它们。

在生产过程中拒绝无效的使用数据是正常的。我正在测试集成,所以应该非常清楚为什么一些使用点被拒绝