如何解决数据库事务API异常database request fail?
appId: wxf22b79ac542dc84b
envId: wxhjc-592yz
错误信息:
Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID 73505cf4-311a-11ea-8d9c-525400697544, cloud function service error code -504002, error message errCode: -502001 database request fail | errMsg: collection.add:fail [FailedOperation] (Location50841) Multi-document transactions cannot be run in a sharded cluster.; at collection.add api;
Error: errCode: -502001 database request fail | errMsg: collection.add:fail [FailedOperation] (Location50841) Multi-document transactions cannot be run in a sharded cluster.; at collection.add api;