使用jssdk保存一个数据时,返回错误“tried to save a batch with a cycle ”

av js 源代码中的错误出处:
// If we can't save any objects, there must be a circular reference.
if (batch.length === 0) {
return AV.Promise.error(
new AV.Error(AV.Error.OTHER_CAUSE,
"Tried to save a batch with a cycle."));
}

奇怪的是,在http环境下,保存都是ok的
但是在https环境下,就返回该错误。

求解

从错误的字面意思看,试图保存的数据中存在循环引用。但是这应该不会受到协议的影响。

如果可能的话,能否提供可以复现该问题的代码,类似这样:https://jsbin.com/jufunaqezo/edit?html,js,console