Questions tagged [mongodb-stitch]

For questions related to the MongoDB Stitch Service API.

Stitch allows building an API for a MongoDB back end and other integrated services by concentrating on application logic rather than detail of delivery for data manipulation code.

Documentation is available at https://docs.mongodb.com/stitch/

And there are various tutorials available: https://docs.mongodb.com/stitch/tutorials/

165 questions
0
votes
1 answer

Authentication Service Webhook (endpoint) in MongoDB Stitch

Is there a way to create a service webhook to register new user with Email and Password? I can see the way via SDK but I am trying to do the same via service webhook function? for e.g. exports = function(payload) { const { Stitch,…
Hary
  • 5,690
  • 7
  • 42
  • 79
0
votes
1 answer

No Matching record is found IN MongoDB Stitch app webhook function

I have a MongoDb ATLAS database as "BOULDERS_MAIN" and a collection inside it "users", I am writing a webhook function for returning a user based on email i.e. "kb", but all I'm getting is empty object.
Kushal Bhalaik
  • 3,349
  • 5
  • 23
  • 46
0
votes
1 answer

Adding Mongodb to ios project

I am currently adding monogodb to my ios project. Just after following the instruction stitch mongodb offered, I am stuck at when pod installing StitchCoreSDK. It supposed to create a xcworkspace file, but it didn't. Instead, I got the following…
0
votes
2 answers

MongoDB retrieve every document contained in another document's array

I'm new to MongoDB so this might be a basic question but I am having trouble in how to approach it. I want to find one document in my collection, like so: db.collection("articles").find({curid:"1000143"}).asArray(); One of the fields returned is an…
0
votes
1 answer

Cannot authenticate to mongodb stitch app with google oauth

I'm working in a vue.js frontend. I can successfully make calls to stitch and write to the database if I use anonymous authentication. When I switch to Google oauth and attempt to make the same write call to the database I get the following…
0
votes
1 answer

Does mongodb-stitch support push notification for ionic?

I am following this tutorial in mongodb stitch. https://docs.mongodb.com/stitch/tutorials/push-notifications/ However it looks like this one is for android app only. I am developing an ionic app using mongodb stitch. Do you think mongodb stitch…
0
votes
2 answers

mongodb collection.find not finding documents

Absolute mongodb newbie here, and I must say I'm not impressed by the documentation. Anyway, my problem is I have a database on Mongodb Atlas, a Stitch application with a next.js frontend and trying to retrieve data like this: import {…
proko
  • 175
  • 2
  • 11
0
votes
1 answer

Uncaught (in promise) TypeError: itemsCollection.remove is not a function at stClient.login.then

I am quite new with Mongodb and trying to create simple HTML with JS where one can add and delete user from Mongodb database on cloud Atlas. Adding user works fine. But for some reason, remove function is not recognized. app id is -->…
joy_jlee
  • 103
  • 2
  • 13
0
votes
2 answers

$regex requires regular expression error mongodb stitch

I get this error when I try to query to Mongodb Stitch: Error: $regex requires regular expression at client.js:557 Here is my code: const searchByName = async (data) => { let db = await MongoConnect(), collection_users =…
Jeremy Tenjo
  • 587
  • 5
  • 9
0
votes
0 answers

sort() operation exceeds max memory in MongoDB Stitch function despite limit()

I'm trying to fix an issue that recently cropped up on a Stitch function querying a MongoDB database. exports = function readMostRecentDataFromCollection(c) { var mongodb = context.services.get('mongodb-atlas'); var coll =…
bjnsn
  • 2,710
  • 2
  • 16
  • 14
0
votes
1 answer

MongoDB Stitch collection watchers

Does anybody know if MongoDB team plans to incorporate collection listeners on the Stitch Java SDK anytime soon? Without this feature, I cannot completely do a migration from FirebaseDB, where I am now stuck at the point of replacing Firebase stream…
0
votes
1 answer

MongoDB stitch "getting started" failure

Nothing is more frustrating than failing on a simple task. I am following along with : https://docs.mongodb.com/stitch/getting-started/first-stitch-app/ - and I get to setp 9 - which is supposed to clear the permissions rule, so anyone can view my…
j-p
  • 3,698
  • 9
  • 50
  • 93
0
votes
1 answer

MongoDB Stitch client.executeFunction is not a function

I am following the dashboard tutorial at https://docs.mongodb.com/stitch/getting-started/dashboard/ and when I try to graph data I get a Javascript error: Uncaught (in promise) TypeError: client.executeFunction is not a function at buildGraph…
Daniele Graziani
  • 490
  • 4
  • 10
0
votes
0 answers

MongoDB Stitch vs Firebase Firestore AND/OR operations

I mainly want to compare using firestore vs mongoDB Stitch queries. I'm building an app (angular 5 + ios + android). The app is mainly of 2 views profile and feeds. The profile contains an array of tags(all user post tags) and a timeline of his…
Hady Rashwan
  • 356
  • 1
  • 6
  • 21
-1
votes
1 answer

Can a Mongo Stitch app be renamed in the web UI?

I am trying Mongo Stitch to see if I can use it for some small web apps. I created a simple application to play with some incoming web hooks and triggers, and called it MyApp. I am now expanding the application, and I have a purpose for it, so I'd…
halfer
  • 19,824
  • 17
  • 99
  • 186
1 2 3
10
11