Skip to main content

All Questions

0 votes
0 answers
32 views

Why aren’t my “real” notifications sending emails but my test notifications do?

I have a Firebase Cloud Function (onCall) named sendTestEmail that successfully sends emails when I trigger it from my front end (a test button). However, my “real” notifications (like follow ...
Tacker Chalice's user avatar
3 votes
1 answer
40 views

Error handling using Firebase SDK functions in React

I'm using Firebase SDK functions to get and post data. But when I'm receiving an error from the backend I'm not able to catch it. The error sent from backend shows up in the networks but the error ...
Rishabh Chaturvedi's user avatar
0 votes
1 answer
45 views

Firebase Function v2 Cors blocked

import { onRequest } from "firebase-functions/v2/https"; import * as logger from "firebase-functions/logger"; import * as cors from "cors"; const corsHandler = cors({ ...
chichi's user avatar
  • 3,318
1 vote
1 answer
36 views

Firebase functions/Nodemailer sending email to myself when a form is submited

I want to use firebase functions with nodemailer to receive emails when a contact form is submited. The form is being saved in my database and then i want to use it in my index.js file with a function ...
nikobinev's user avatar
0 votes
1 answer
249 views

How to make React-Email & Resend work with Firebase Cloud Functions

I have a Nextjs app that utilizes both React-Email, Resend & Firebase Cloud Functions. The directory structure looks like this: I want to send an email to a user whenever a doc is created in &...
Shihab Shahriyar's user avatar
1 vote
0 answers
33 views

Firebase Cloud Function Email Body Shows Only "{}" Despite Sending Form Data

I'm working on a firebase cloud Function to send form submissions via email using Nodemailer. I'm currently testing this using the Firebase Emulator. The issue I'm facing is that the email body only ...
Seth Stitick's user avatar
0 votes
1 answer
29 views

Google Cloud Functions for Firebase: How do I render an image response in React?

I'm using Google Cloud Functions for Firebase (GCFF) to make my API calls on the backend of my simple React web app. Here's a simple one that fetches a picture from Wikipedia. I've tried many ...
achalla's user avatar
  • 187
0 votes
1 answer
73 views

Firestore batch/transaction is not atomic with multiple set, delete inside Cloud Function

I want to delete and create multiple documents in a collection (subcollection) in a single batch, inside a Cloud Function using Firestore Web API. The code inside my Cloud Function looks like this (...
Hunternif's user avatar
  • 2,392
1 vote
1 answer
119 views

Listen webhook response in react frontend app in real time

I have a webhook which is deployed on firebase cloud function and successfully listening response from squareup terminal api. Now the thing is i want to listen the same in my react front end. Because ...
S.Hashmi's user avatar
  • 501
0 votes
1 answer
158 views

Connect react app on firebase hosting and firebase cloud functions v2

I have Vite react app (that perfectly works locally) with the config that redirects all api requests starts with /functions to firebase function via url (express app). export default defineConfig({ ...
zapletnev's user avatar
  • 503
0 votes
1 answer
126 views

Unable to sign-up using email/password (Firebase NodeJS SDK)

I have a sign-up form which allows Users to enter their credentials (email, password, etc.), which should create a Firebase Auth account, and a record of the other details in MongoDB. My required flow ...
BlazeRod11's user avatar
1 vote
3 answers
470 views

CORS issue accessing firebase cloud functions from react website hosted on firebase hosting

I am working on a React project, I had made my frontend in react.js and hosted it on firebase. I wanted to use firebase cloud functions for backend. Butt the issue is, I keep getting CORS error. This ...
Harshaditya sharma's user avatar
0 votes
1 answer
103 views

Firebase cloud functions SDK error while calling

I have a firebase cloud function written in Python called hello_world_fn: from firebase_functions import https_fn from firebase_admin import firestore import google.cloud.firestore @https_fn....
Leotheperegrine's user avatar
1 vote
2 answers
1k views

CORS Preflight check error google cloud (firebase) python function reactjs

edit: This fetch needs and authorization which I've gotten to work. Only issue remaining is CORS ... I've tried to set up wildcard config, which didn't work. Right now, the error code I get is ...
Felix T's user avatar
  • 25
1 vote
2 answers
604 views

Error message: Provided module can't be loaded. Cannot find module 'nodemailer'

i have a firebase project on react framework, where i want to create firebase funcion that will send an email with nodemailer, but when i try to deploy it, it says that nodemailer is missing ive tried:...
Jerrdust's user avatar

15 30 50 per page
1
2 3 4 5
16