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

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 first, after the document is found I start…
Juan
  • 3
  • 1
0
votes
1 answer

MongoDB Stitch: linkWithCredential gives invalid username/password

I am making a React Native app. I have been implementing Anonymous Login when user enters the app. After certain action, user can signup. When I try to link the current anonymous user with email and password, it says [StitchServiceError: invalid…
Parth Chokshi
  • 642
  • 4
  • 16
0
votes
2 answers

MongoDB Stitch GraphQL Custom Mutation Resolver returning null

GraphQL is a newer feature for MongoDB Stitch, and I know it is in beta, so thank you for your help in advance. I am excited about using GraphQL directly in Stitch so I am hoping that maybe I just overlooked something. The documentation for the…
Bernie Green
  • 147
  • 1
  • 6
0
votes
0 answers

Linking Anonymous User Session with Google Account results in broken redirect

I am trying to link an anonymous mongodb stitch session to a Google account using the following code snippet from the docs: function linkWithGoogleAccount() { user .linkUserWithRedirect(new GoogleRedirectCredential()) .then(_=>…
royru
  • 13
  • 3
0
votes
1 answer

How to integrate Mongodb Atlas with cloud integration platform such as mulesoft?

So recently I started studying MongoDB Atlas. So just wanted to know how I can integrate that cloud database to any cloud integration tool such as MULESOFT. Do I have to create an API from MongoDB Stitch and then integrate it or am I missing…
Mayur Tripathi
  • 69
  • 2
  • 12
0
votes
2 answers

Where to find Mongo Stitch AppID?

I can't for life find my app id in mongo stitch service. Does anyone know where is it located? According to documentation it should be on the Client page of Stitch UI. I'm looking for it everywhere, but just can't find it.
0
votes
1 answer

Mongodb stitch increase email confirmation URL expiry limit

As per documentation in https://docs.mongodb.com/stitch/authentication/userpass/#send-a-confirmation-email Currently, Mongodb stitch email confirmation URL expire in 30 mins which seems is not sufficient so like to know how to increase Mongodb…
Santosh Kori
  • 461
  • 4
  • 12
0
votes
1 answer

mongodb stitch function is having error in using node modeule @jimp

I am using mongodb stitch function on database trigger to read image from URL using node js jimp module https://www.npmjs.com/package/jimp I have uploaded jimp as external dependency to stitch function. Below is code i am using in function const…
Sam
  • 23
  • 4
0
votes
0 answers

MongoDB Stitch Document insertion not passing through Schema check

In Stitch -> rules, I open up MyCollection, clicked on the Schema tab, and typed the following: { "bsonType": "object", "required": [ "roadmapTitle" ], "properties": { "roadmapTitle": { "bsonType": "string" }, …
Acy
  • 589
  • 2
  • 9
  • 25
0
votes
1 answer

How can I use deep links in Mongo Stitch Email Confirmation URLs?

I want to configure a Mongo Stitch App to confirm users via e-mail. I'd like to use a deep link to link directly into my react native expo app. During development the link would be "exp://localhost:19000/". The link correctly reaches my app.…
0
votes
1 answer

Web Scraping in React & MongoDB Stitch App

I'm moving a MERN project into React + MongoDB Stitch after seeing it allows for easy user authentication, quick deployment, etc. However, I am having a hard time understanding where and how can I call a site scraping function. Previously, I web…
Acy
  • 589
  • 2
  • 9
  • 25
0
votes
1 answer

Concurrent Modification Exception Stitch MongoDB login

I am building a Stitch Mongodb based application with an Email/Password Authentication method. I have succeeded in registering the user and sending a confirmation email. After I register and send the email I redirect the user to the Login page…
Mahdi Jaber
  • 231
  • 1
  • 4
  • 12
0
votes
2 answers

MongoDB Stitch + Gatsby Buid: WebpackError: ReferenceError: self is not defined with

My react app is developed with Gatsby. The build-process fails on the dependency "whatwg-fetch" My app structure is based on the following project. https://github.com/mongodb-university/stitch-tutorial-todo-web I've found some hints on the web where…
codeKenta
  • 11
  • 1
0
votes
2 answers

How to use Mongodb Stitch API using API Key?

How to access a Stitch API from Postman using API Key? The API works with "Anonymous Auth" but not sure how to use with Postman - Server key or User key? This document https://docs.mongodb.com/stitch/authentication/api-key/#server-api-keys does not…
Suren Konathala
  • 3,497
  • 5
  • 43
  • 73
0
votes
1 answer

Using MongoDB Stitch webhook service function, how can I convert the returned "insertedId" to string?

I'm creating MongoDB Stitch http services (using the 3rd Party Services > Incoming Webhooks > Function Editor) for a simple CRUD application and I am trying to insertOne() document and then return the document id as a string. The insertion works as…
mepley
  • 470
  • 4
  • 18