Skip to main content

Questions tagged [mongodb-stitch]

For questions related to the MongoDB Stitch Service API.

mongodb-stitch
1 vote
0 answers
458 views

'show' is not recognized as an internal or external command, operable program or batch file

After successfully executing mongod --version command, when I tried running show dbs command to view database it is showing me the error: 'show' is not recognized as an internal or external command, ...
Yash Sharma's user avatar
1 vote
0 answers
75k views

How to identify MongoDB collection name from MongoDB AWS EventBridge Trigger

I created 2 MongoDB triggers for 2 collections from one Mongo cluster and 1 trigger for a collection from another cluster. So altogether 3 triggers. I used AWS Event Bridge to send trigger events to ...
cmgchess's user avatar
  • 9,286
0 votes
1 answer
471 views

iOS App crashes in Release Mode but not in debug (using MongoDB and Stitch SDK)

I’m using MongoDB and Stitch SDK (StitchSDK ver. 6.4.0) . My app for iPhone runs in debug mode but when I build it as release and install it via TestFlight, it crashes. I tried changing the ...
ELIZABETA AFOURA's user avatar
0 votes
1 answer
278 views

'"hrms-dev"' not found in 'aud' claim in Mongodb?

I am using mongodb and firebase for authentication purpose. I have enabled Custom JWT Authentication. PFA pic of authentication provider. and also I have mentioned metadata fields and audience("...
Ramesh Reddy's user avatar
13 votes
1 answer
4k views

How to query MongoDB aggregate with collation option

I created a "brands" collection and then added an index collation: { locale: "en", strength: 2} on the "title" field. But when I try to query it using this collation it ...
Andrei Roba's user avatar
  • 2,284
0 votes
1 answer
426 views

Stitch - Mongodb SSL handshake failed: <Hostname>: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:645)

I have used the stitch data integration tool to transfer MongoDB data to stitch. But While running it getting error as mention below Guide me 2021-06-21 12:40:32,381Z main - INFO Running tap-mongodb ...
Parag Shahade's user avatar
1 vote
1 answer
662 views

Can the MongoDB Realm Swift API still just insert a struct into an Atlas collection, like in Stitch?

I have a hierarchy of codable Swift structs that I need to store in MongoDB in the cloud (Atlas). I do not need to persist these structs locally, and this app won't need to access this data once it's ...
pua666's user avatar
  • 326
0 votes
0 answers
382 views

Exceeded Memory Limit despite allowDiskUse set to true

I get the same error StitchServiceError {message: "(Location16945) Exceeded memory limit for $group, … external sort. Pass allowDiskUse:true to opt in.", name: "StitchServiceError",...
David Kong's user avatar
12 votes
5 answers
7k views

MongoDB atlas trigger getting error: TypeError: Cannot access member 'db' of undefined

I am a newbie trying MongoDB-atlas free tier. I have a cluster named - "mongoCluster. Under it, I have a database - "testdb" and under it, have a collection - "testcollection"....
Anurag's user avatar
  • 387
2 votes
1 answer
765 views

MongoDB Realm vs. Stitch login times - why is Realm so slow?

I've built a web tool using MongoDB databases hosted on Atlas, connected via Stitch. From what I understand, Stitch is now depreciated and has been turned into MongoDB Realm. So I tried to update my ...
CharlesT's user avatar
0 votes
0 answers
259 views

mongodb realm sync client on angular project

I configured realm sync at atlas,. My client side is angular application. I installed the npm install realm@beta When I try to import import Realm from "realm"; I get below error ERROR in ...
giri's user avatar
  • 27.1k
0 votes
0 answers
272 views

MongoDB - Sort and Skip methods not working

I am getting frustrated with these two methods. According to MongoDB documentation I can find limit sort and skip something like this: db.collection('demo_products').find({'groupid':{$exists: false}})...
Lukas Luke Stateczny's user avatar
0 votes
1 answer
144 views

MongoDB Stitch/Realm Function updateMany with aggregation error

I am trying to create a function to unlock leads that were locked before the specified time. I tested the updateMany function with an aggregation pipeline in the shell, but when trying to run it from ...
Bernie Green's user avatar
0 votes
1 answer
29 views

not able to fetch using $and in mongo db

I'm trying to use $and in mongodb stitch function to get data using 2 different condition data = col.find( { $and: [ { "title": { title } }, { "address.countryName": { country } } ]...
V.V's user avatar
  • 3,092
0 votes
1 answer
527 views

Push inside forEach with query not working properly

I'm working with mongodb stitch/realm and I'm trying to modify objects inside an array with a foreach and also pushing ids into a new array. For each object that i'm modifying, I'm also doing a query ...
Juan 's user avatar

15 30 50 per page
1
2 3 4 5
11