EVE-POST请求中出现500个内部服务器错误

时间:2019-05-03 14:53:15

标签: python mongodb pymongo eve

在将文档插入到eve的相应端点时,有一个 pymongo.errors.BulkWriteError: batch op errors occurred,但我要发送的文档不是批处理而是单个对象。

这是我要使用https://pastebin.com/CXstV7PW进行发布的文档

这是验证模式https://pastebin.com/5wxiPQX5

我已经手动检查了字段,并且一切都很好,但是无论发送方法(邮递员,请求等)如何,结果都是相同的。

以下是对客户的回复:

<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>pymongo.errors.BulkWriteError: batch op errors occurred</p>

有什么想法吗?

0 个答案:

没有答案