Unable to export report templates from jsreport studio
-
Hi sir,
while export report templates from jsreport studio i'm getting some error.
ie,Unable to prepare export internal server error.
Is this error due to any error in our report script ?Or any error in report templates?
-
Please paste the server logs.
-
Logs ----------------
timestamp,message
1642518395158,"2022-01-18T15:06:35.158Z - [33mwarn[39m: Profile cleanup failed for some entities, last error: Cannot read properties of null (reading '_id') stack=TypeError: Cannot read properties of null (reading '_id')"
1642518395158, at Object.remove (/app/node_modules/@jsreport/jsreport-mongodb-store/lib/gridFSBlobStorage.js:29:27)
1642518395158, at runMicrotasks (<anonymous>)
1642518395158, at processTicksAndRejections (node:internal/process/task_queues:96:5)
1642518395158, at async AsyncFunction.<anonymous> (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:186:9)
1642518395159, at async ListenerCollection.fire (/app/node_modules/@jsreport/jsreport-core/lib/shared/listenerCollection.js:157:21)
1642518395159, at async Object.remove (/app/node_modules/@jsreport/jsreport-core/lib/main/store/collection.js:148:5)
1642518395159, at async Timeout.profilesCleanup [as _onTimeout] (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:225:11)
1642518455245,"2022-01-18T15:07:35.245Z - [33mwarn[39m: Profile cleanup failed for some entities, last error: Cannot read properties of null (reading '_id') stack=TypeError: Cannot read properties of null (reading '_id')"
1642518455245, at Object.remove (/app/node_modules/@jsreport/jsreport-mongodb-store/lib/gridFSBlobStorage.js:29:27)
1642518455245, at runMicrotasks (<anonymous>)
1642518455245, at processTicksAndRejections (node:internal/process/task_queues:96:5)
1642518455245, at async AsyncFunction.<anonymous> (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:186:9)
1642518455245, at async ListenerCollection.fire (/app/node_modules/@jsreport/jsreport-core/lib/shared/listenerCollection.js:157:21)
1642518455245, at async Object.remove (/app/node_modules/@jsreport/jsreport-core/lib/main/store/collection.js:148:5)
1642518455245, at async Timeout.profilesCleanup [as _onTimeout] (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:225:11)
1642518515157,"2022-01-18T15:08:35.157Z - [33mwarn[39m: Profile cleanup failed for some entities, last error: Cannot read properties of null (reading '_id') stack=TypeError: Cannot read properties of null (reading '_id')"
1642518515157, at Object.remove (/app/node_modules/@jsreport/jsreport-mongodb-store/lib/gridFSBlobStorage.js:29:27)
1642518515157, at runMicrotasks (<anonymous>)
1642518515157, at processTicksAndRejections (node:internal/process/task_queues:96:5)
1642518515157, at async AsyncFunction.<anonymous> (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:186:9)
1642518515157, at async ListenerCollection.fire (/app/node_modules/@jsreport/jsreport-core/lib/shared/listenerCollection.js:157:21)
1642518515157, at async Object.remove (/app/node_modules/@jsreport/jsreport-core/lib/main/store/collection.js:148:5)
1642518515157, at async Timeout.profilesCleanup [as _onTimeout] (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:225:11)
1642518575243,"2022-01-18T15:09:35.243Z - [33mwarn[39m: Profile cleanup failed for some entities, last error: Cannot read properties of null (reading '_id') stack=TypeError: Cannot read properties of null (reading '_id')"
1642518575243, at Object.remove (/app/node_modules/@jsreport/jsreport-mongodb-store/lib/gridFSBlobStorage.js:29:27)
1642518575243, at runMicrotasks (<anonymous>)
1642518575243, at processTicksAndRejections (node:internal/process/task_queues:96:5)
1642518575243, at async AsyncFunction.<anonymous> (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:186:9)
1642518575243, at async ListenerCollection.fire (/app/node_modules/@jsreport/jsreport-core/lib/shared/listenerCollection.js:157:21)
1642518575243, at async Object.remove (/app/node_modules/@jsreport/jsreport-core/lib/main/store/collection.js:148:5)
1642518575243, at async Timeout.profilesCleanup [as _onTimeout] (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:225:11)
1642518635241,"2022-01-18T15:10:35.241Z - [33mwarn[39m: Profile cleanup failed for some entities, last error: Cannot read properties of null (reading '_id') stack=TypeError: Cannot read properties of null (reading '_id')"
1642518635241, at Object.remove (/app/node_modules/@jsreport/jsreport-mongodb-store/lib/gridFSBlobStorage.js:29:27)
1642518635241, at runMicrotasks (<anonymous>)
1642518635241, at processTicksAndRejections (node:internal/process/task_queues:96:5)
1642518635241, at async AsyncFunction.<anonymous> (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:186:9)
1642518635241, at async ListenerCollection.fire (/app/node_modules/@jsreport/jsreport-core/lib/shared/listenerCollection.js:157:21)
1642518635241, at async Object.remove (/app/node_modules/@jsreport/jsreport-core/lib/main/store/collection.js:148:5)
1642518635241, at async Timeout.profilesCleanup [as _onTimeout] (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:225:11)
1642518684943,2022-01-18T15:11:24.942Z - [34mdebug[39m: OData query on templates
1642518684946,2022-01-18T15:11:24.945Z - [34mdebug[39m: OData query on folders
1642518685036,2022-01-18T15:11:25.035Z - [34mdebug[39m: OData query on components
1642518685050,2022-01-18T15:11:25.050Z - [34mdebug[39m: OData query on data
1642518685087,2022-01-18T15:11:25.087Z - [34mdebug[39m: OData query on tags
1642518685147,2022-01-18T15:11:25.143Z - [34mdebug[39m: OData query on schedules
1642518685241,2022-01-18T15:11:25.241Z - [34mdebug[39m: OData query on assets
1642518685245,2022-01-18T15:11:25.245Z - [34mdebug[39m: OData query on scripts
1642518685351,2022-01-18T15:11:25.351Z - [34mdebug[39m: OData query on settings
1642518685742,2022-01-18T15:11:25.742Z - [34mdebug[39m: OData query on templates
1642518685987,2022-01-18T15:11:25.986Z - [34mdebug[39m: OData query on profiles
1642518686153,2022-01-18T15:11:26.153Z - [34mdebug[39m: OData query on monitoring
1642518695153,"2022-01-18T15:11:35.153Z - [33mwarn[39m: Profile cleanup failed for some entities, last error: Cannot read properties of null (reading '_id') stack=TypeError: Cannot read properties of null (reading '_id')"
1642518695153, at Object.remove (/app/node_modules/@jsreport/jsreport-mongodb-store/lib/gridFSBlobStorage.js:29:27)
1642518695153, at runMicrotasks (<anonymous>)
1642518695153, at processTicksAndRejections (node:internal/process/task_queues:96:5)
1642518695153, at async AsyncFunction.<anonymous> (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:186:9)
1642518695153, at async ListenerCollection.fire (/app/node_modules/@jsreport/jsreport-core/lib/shared/listenerCollection.js:157:21)
1642518695153, at async Object.remove (/app/node_modules/@jsreport/jsreport-core/lib/main/store/collection.js:148:5)
1642518695153, at async Timeout.profilesCleanup [as _onTimeout] (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:225:11)
1642518755154,"2022-01-18T15:12:35.154Z - [33mwarn[39m: Profile cleanup failed for some entities, last error: Cannot read properties of null (reading '_id') stack=TypeError: Cannot read properties of null (reading '_id')"
1642518755155, at Object.remove (/app/node_modules/@jsreport/jsreport-mongodb-store/lib/gridFSBlobStorage.js:29:27)
1642518755155, at runMicrotasks (<anonymous>)
1642518755155, at processTicksAndRejections (node:internal/process/task_queues:96:5)
1642518755155, at async AsyncFunction.<anonymous> (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:186:9)
1642518755155, at async ListenerCollection.fire (/app/node_modules/@jsreport/jsreport-core/lib/shared/listenerCollection.js:157:21)
1642518755155, at async Object.remove (/app/node_modules/@jsreport/jsreport-core/lib/main/store/collection.js:148:5)
1642518755155, at async Timeout.profilesCleanup [as _onTimeout] (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:225:11)
1642518810419,2022-01-18T15:13:30.419Z - [34mdebug[39m: OData query on templates
1642518810442,2022-01-18T15:13:30.442Z - [34mdebug[39m: OData query on folders
1642518810444,2022-01-18T15:13:30.444Z - [34mdebug[39m: OData query on components
1642518810556,2022-01-18T15:13:30.556Z - [34mdebug[39m: OData query on data
1642518810558,2022-01-18T15:13:30.558Z - [34mdebug[39m: OData query on tags
1642518810643,2022-01-18T15:13:30.643Z - [34mdebug[39m: OData query on assets
1642518810656,2022-01-18T15:13:30.656Z - [34mdebug[39m: OData query on scripts
1642518810658,2022-01-18T15:13:30.658Z - [34mdebug[39m: OData query on schedules
1642518810853,2022-01-18T15:13:30.853Z - [34mdebug[39m: OData query on settings
1642518811246,2022-01-18T15:13:31.246Z - [34mdebug[39m: OData query on templates
1642518811544,2022-01-18T15:13:31.542Z - [34mdebug[39m: OData query on profiles
1642518811641,2022-01-18T15:13:31.641Z - [34mdebug[39m: OData query on monitoring
1642518817952,"2022-01-18T15:13:37.952Z - [33mwarn[39m: Profile cleanup failed for some entities, last error: Cannot read properties of null (reading '_id') stack=TypeError: Cannot read properties of null (reading '_id')"
1642518817952, at Object.remove (/app/node_modules/@jsreport/jsreport-mongodb-store/lib/gridFSBlobStorage.js:29:27)
1642518817952, at runMicrotasks (<anonymous>)
1642518817952, at processTicksAndRejections (node:internal/process/task_queues:96:5)
1642518817952, at async AsyncFunction.<anonymous> (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:186:9)
1642518817952, at async ListenerCollection.fire (/app/node_modules/@jsreport/jsreport-core/lib/shared/listenerCollection.js:157:21)
1642518817952, at async Object.remove (/app/node_modules/@jsreport/jsreport-core/lib/main/store/collection.js:148:5)
1642518817952, at async Timeout.profilesCleanup [as _onTimeout] (/app/node_modules/@jsreport/jsreport-core/lib/main/profiler.js:225:11)
1642518825256,"2022-01-18T15:13:45.256Z - [34mdebug[39m: exporting objects, with selection [""61e2404b49a143a36265215e"",""61e1606998cf9428a89f7572"",""61e69330053ceb816c2b0eca"",""61e2419549a143e0cb652172"",""61e2419949a143756e652177"",""61e2419e49a14349fc65217c"",""61e69277053ceb745b2b0ebd"",""61e107a598cf947fb89f4fe8"",""61e01ab998cf947fed9f4617"",""61e2400149a14368ba652158"",""61e1574098cf9430be9f74c1"",""61e67250053ceb38f82b0b8b"",""61e2a72049a143830265292d"",""61e6c2fa053ceb5f2a2b14ec"",""61e2a4c649a1436d84652897"",""61e0fe8c98cf9430339f4d1b"",""61e29bd649a14351d86526ec"",""61e537091d3d3d8760d7dfcf"",""61e506e7f3b7e89f904e8948"",""61e514aef3b7e8e7d24e8aa8"",""Fmb8HbTEswJLAD58"",""61e66030053ceb0fb22b0a44"",""61e686c6053cebc7e92b0d88"",""ACNAe2UxKAE9pEuJ"",""61e2418e49a143ede265216d"",""61e1779c98cf942ad89f7799"",""Jg79cUSbL7nzAihX"",""61e514b0f3b7e8c2114e8aaf"",""61d68edfa4f23d736487c1d7"",""61e68bf7053cebff952b0dda"",""61d69a49a4f23dd58d87c2dc"",""61e68e05053ceba1752b0dfd"",""61e2a6c449a143cca7652926"",""61e01e0a98cf94c5359f473f"",""61e69298053ceb6cc42b0ec2"",""61e6570f053ceb06322b089a"",""61e66b1b053ceb77ac2b0b30"",""61de5b6ba4f23d6cd6880783"",""61de9af1a4f23d266c880b0e"",""61e66ae7053ceb7e662b0b01"",""61e649da053ceb930f2b066b"",""61e2418a49a143643e652168"",""61e167cb98cf94ecff9f76f1"",""61e1606998cf9445e69f756f"",""61e2404b49a143020165215c"",""61e2404b49a143e70065215b"",""61e1606998cf94c4d59f7570"",""POsQdU7JYodUcf3K"",""61e69330053cebe1242b0ec6"",""61e2419449a1431a3165216f"",""61e69330053cebccd02b0ec7"",""61e2419449a1430867652170"",""61e2419949a14393fe652175"",""61e2419849a1431140652174"",""61e2419e49a143542e65217a"",""61e2419e49a1433cdc652179"",""WGfwUPZLB9Yk8099"",""61e69276053ceb3fc12b0eba"",""61e107a598cf94179c9f4fe6"",""61e107a598cf9424529f4fe5"",""61e69276053ceb65f32b0eb9"",""61e649d9053cebc1de2b0666"",""61e66ae6053ceb12962b0afc"",""61de5b6ba4f23d64b488077f"",""61e01ab898cf948cce9f4615"",""61e01ab898cf94f3119f4614"",""61e67250053cebac282b0b88"",""61e2400049a143360e652156"",""61e2400049a1433e6f652155"",""61e1574098cf9463629f74bf"",""61e1574098cf947c029f74be"",""61e6724f053ceb3c0e2b0b87"",""61e2a72049a143276b65292a"",""61e2a72049a143875f65292b"",""Yzyecm9XyyuK7laa"",""FwGY7RFwr7VGMG8l"",""LX2RlXNKc7lbTZN8"",""9hja8hTMoGl2fs0G"",""aYt9mVwfjILsB3xs"",""61e2a4c549a1437235652894"",""61e2a4c549a1431db3652895"",""61e6c2f9053ceb86892b14e8"",""61e6c2f9053ceb6fd22b14e9"",""61e0fe8c98cf9434309f4d19"",""61e0fe8b98cf942d189f4d18"",""61e6724f053ceb5f482b0b86"",""61e2400049a143e3cf652154"",""61e29bd549a1430e0d6526ea"",""61e29bd549a14383926526e9"",""61e506e7f3b7e848854e8944"",""61e537091d3d3d12f7d7dfcd"",""61e537081d3d3d1e1ad7dfcc"",""61e506e7f3b7e80c4f4e8945"",""61e506e7f3b7e885634e8946"",""STBxQ6YOVefi2foP"",""d7Nxp4gsGn6tjCbQ"",""2MZdXpTDiH1LNc5p"",""61e686c5053ceb23c72b0d84"",""61d2c5c02a78cf397e0489fc"",""61d343982a78cf83ab049119"",""61d343982a78cfaa5f049118"",""61d2c5c02a78cf67fd0489fd"",""61e6602f053cebcff82b0a40"",""dFKlQyXaOmMLxHCo"",""61e514aef3b7e832444e8aa5"",""61d4fcb1a4f23d45f987aa7f"",""RDefKo8uaEuRBhkb"",""61e6602f053ceb94de2b0a41"",""61e1779c98cf9468e09f7797"",""61e1779c98cf94a8bd9f7796"",""61e2418e49a143015365216b"",""61e2418e49a1439dab65216a"",""61e514aff3b7e8bdc94e8aa9"",""Us1S3sa2biXWHlJl"",""pd780NgmVShJZ4P1"",""UmQT7lqPBTjY2tBL"",""6HQPRZ8U7cMmftNc"",""61e68bf7053ceb2b7d2b0dd5"",""61d68edea4f23d93b087c1d3"",""61e68bf7053ceb16fe2b0dd7"",""61d68edfa4f23d221087c1d5"",""61e68bf7053cebc36a2b0dd6"",""61d68edea4f23d1b7e87c1d4"",""61d69a48a4f23d1fd987c2d9"",""61e68e04053ceb84fe2b0dfa"",""61e68e04053ceb6f3a2b0df9"",""61d69a48a4f23de1b787c2da"",""61e2a6c449a1432fde652924"",""61e2a6c449a14303f7652923"",""fqdiHB4c7GH6RZiG"",""61e66ae6053cebfb302b0afe"",""61e649d9053ceb3e4c2b0668"",""61de9af1a4f23d19ee880b0c"",""61de9af1a4f23d34db880b0b"",""61e649d9053ceb8dd32b0667"",""61e66ae6053ceb1cc62b0afd"",""61e01e0998cf9426329f473c"",""61e69298053ceb24cc2b0ebe"",""61e69298053ceb00c32b0ebf"",""61e01e0998cf9486559f473d"",""61e6570f053ceb7b642b0896"",""61de5b6ba4f23d376d880780"",""61de5b6ba4f23d5d28880781"",""61e66b1a053cebb0762b0b2c"",""61e66b1a053ceb62c52b0b2d"",""61e6570f053ceb06cb2b0897"",""uwhl6HbdliF07hHs"",""JwrAgzkmphTsYrjB"",""61e167ca98cf9416d99f76ef"",""61e167ca98cf94094e9f76ee"",""61e2418949a143c417652166"",""61e2418949a143809b652165"",""BcZMg7za5m8kBy46"",""K0NmUFSwhU3NpriN"",""cX8jmhfckkEB2xVv"",""61e64f20053cebd5842b07b5"",""61e2404b49a14383c765215f"",""61e1606998cf9409189f7573"",""61d63c63a4f23dd44d87bbfa"",""61e2419549a1436c8a652173"",""61e69330053ceb16712b0ec8"",""61e51da71d3d3d747cd7ddf8"",""61d43be1a4f23d947787a2c9"",""61e2419949a1431860652178"",""61e26fcd49a14303ff652388"",""61e2419f49a143ef2c65217d"",""61e69276053ceb2cfc2b0ebb"",""61e107a598cf9482ab9f4fe9"",""61e01ab998cf9419619f4618"",""61e1574098cf9408629f74c2"",""61e2400149a1439c9d652159"",""61e67250053ceb41bb2b0b89"",""61e2a72149a1439e0365292e"",""61d1c4e0a43a0030503b1e0c"",""LStoJX0nEwMvqwqc"",""61e514aff3b7e883024e8aab"",""61e686c6053ceb6e1d2b0d86"",""61d211a1a43a0018b33b26ee"",""nsfKGi0oHr8Pyj2f"",""61e514b0f3b7e802f44e8aad"",""pETNeXD7URifU3SD"",""61e514aff3b7e812964e8aac"",""ejHmvPP53JIw95Dp"",""VoU5aNAPZJJtln8y"",""61e6c2fa053ceb930e2b14ea"",""61e2a4c649a143e66b652898"",""61e0fe8c98cf944fad9f4d1c"",""61cf6deca43a00c28e3b08d7"",""61e260b249a143a756652203"",""61e29bd649a14349166526ed"",""61e51dd61d3d3d17aad7ddfa"",""61e537091d3d3d7db4d7dfd0"",""61e506e7f3b7e84f344e8949"",""61cf7343a43a00d89f3b08f3"",""BGzJVEJyrwiKmGWl"",""61e686c5053ceb83522b0d85"",""61e514aef3b7e8529f4e8aa6"",""61e66030053ceb5ddb2b0a42"",""sR1KboClTDsqWNm4"",""61e1779c98cf940b519f779a"",""61e2418e49a1435c3765216e"",""gp6Wf6NsOKUInBdE"",""61e514aff3b7e815454e8aaa"",""61e68bf7053ceb64892b0dd8"",""61d68edfa4f23d6d6c87c1d8"",""61d69a49a4f23df84c87c2dd"",""61e68e04053ceb8fb42b0dfb"",""61d69e42a4f23d709287c2ef"",""61e2a6c449a143b6e9652927"",""61de6d62a4f23d2e9d880819"",""61cf6e8ea43a001bbc3b08de"",""61e01e0a98cf949d1e9f4740"",""61e69298053cebff192b0ec0"",""61e66ae6053ceb7d072b0aff"",""61de9af1a4f23d16db880b0f"",""61e649d9053ceb04d02b0669"",""61e6570f053ceb6f202b0898"",""61e66b1a053ceb5ba82b0b2e"",""61de5b6ba4f23d799b880784"",""61d53acba4f23d58f887af2b"",""61d563dca4f23d18d587b057"",""61cf6e17a43a000d2d3b08db"",""KCWo85usjbnj29Pl"",""61d53a2da4f23d3a4087af27"",""61e2418a49a1433f55652169"",""61e167cb98cf94ff259f76f2"",""oecJtCtheSE0ECgr"",""WJOUZnAiHgJ02dLj"",""61e1606998cf941c0e9f7571"",""61e2404b49a14336b765215d"",""61e69330053ceb864a2b0ec9"",""61e2419449a14302d5652171"",""61e2419949a1436e19652176"",""61e2419e49a143602165217b"",""61e69277053cebc31d2b0ebc"",""61e107a598cf94e56a9f4fe7"",""61e01ab898cf94bf089f4616"",""61e1574098cf947a7e9f74c0"",""61e2400049a1434967652157"",""61e67250053ceb2d8a2b0b8a"",""61e2a72049a14308c065292c"",""61e6c2fa053ceb26a92b14eb"",""61e2a4c549a143cf15652896"",""61e0fe8c98cf9461919f4d1a"",""61e29bd549a1439fd56526eb"",""61e537091d3d3d1ebad7dfce"",""61e506e7f3b7e8cbb84e8947"",""61e686c6053ceb41102b0d87"",""IsxK5SMgsYowZNaN"",""nStVe7fN9dg3Pwtn"",""61e66030053ceb2add2b0a43"",""61e514aef3b7e8eff94e8aa7"",""61e2418e49a143c9bb65216c"",""61e1779c98cf942c729f7798"",""61e514b0f3b7e8fe764e8aae"",""DPMuYO4sFeRST8tk"",""61d68edfa4f23d0e4287c1d6"",""61e68bf7053ceba4462b0dd9"",""61e68e04053ceb74342b0dfc"",""61d69a48a4f23d605987c2db"",""61e2a6c449a1437bad652925"",""61e01e0998cf9425b49f473e"",""61e69298053ceb402d2b0ec1"",""61e66ae7053ceb0da92b0b00"",""61de9af1a4f23ddbf7880b0d"",""61e649da053cebccab2b066a"",""61e6570f053ceba9be2b0899"",""61e66b1b053ceb17df2b0b2f"",""61de5b6ba4f23d2c7f880782"",""61e167cb98cf94416c9f76f0"",""61e2418949a1436184652167""]"
1642518826342,"2022-01-18T15:13:46.342Z - [31merror[39m: Error during processing request at http://abc/api/export, details: Feature not supported: cursor within transaction. Try increasing the batchsize., stack: MongoError: Feature not supported: cursor within transaction. Try increasing the batchsize."
1642518826342, at MessageStream.messageHandler (/app/node_modules/mongodb/lib/cmap/connection.js:268:20)
1642518826342, at MessageStream.emit (node:events:390:28)
1642518826343, at MessageStream.emit (node:domain:475:12)
1642518826343, at processIncomingData (/app/node_modules/mongodb/lib/cmap/message_stream.js:144:12)
1642518826343, at MessageStream._write (/app/node_modules/mongodb/lib/cmap/message_stream.js:42:5)
1642518826343, at writeOrBuffer (node:internal/streams/writable:389:12)
1642518826343, at _write (node:internal/streams/writable:330:10)
1642518826343, at MessageStream.Writable.write (node:internal/streams/writable:334:10)
1642518826343, at Socket.ondata (node:internal/streams/readable:754:22)
1642518826343, at Socket.emit (node:events:390:28)
-
Thank you, please add also what is your MongoDB version.
-
version is 4.0.0
-
Thank you, I'm unfortunately not able to replicate this.
I've tried mongo 4.0.0 with replicate set and exported 5000 templates without an issue. I've tried it also without the replica set.
What is your MongoDB setup? Do you use a replica set with multiple servers? Don't you use some kind of DocumentDB AWS service? Is it possible to email me mongo data files?
-
we are using DocumentDB AWS service
-
Ok, so you don't use MongoDB actually.
Unfortunately, DocumentDB doesn't support all MongoDB APIs which jsreport uses.
https://docs.aws.amazon.com/documentdb/latest/developerguide/transactions.html#transactions-limitationsMaybe it could help, to change the DocumentDB engine to 3.6. This MongoDB version doesn't support transactions so the described error won't happen because jsreport won't use them. Please let me know if this helps, I would include it in the documentation.
Another option is to use a different service. Mongo company has its own service running in AWS as well which runs normal mongo without limitations. https://www.mongodb.com/atlas