Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Meta WhatsApp Cloud API: "(#100) Invalid parameter" error while sending template message in Node.js

I'm trying to integrate the Meta WhatsApp Cloud API in my Node.js + Express project to send a registration confirmation message after a user signs up. However, I am encountering an error: (#100) ...
Sujay K C's user avatar
0 votes
0 answers
12 views

Express.js with HTTP/2 (SPDY) - net::ERR_HTTP2_PROTOCOL_ERROR in Chrome Only

I have a Node.js server using Express.js with SPDY to enable HTTP/2 requests. The goal is to handle more concurrent streams than HTTP/1.1 allows. Setup I'm using SPDY to create an HTTP/2 server: ...
Muhammad Ahmed Habib's user avatar
0 votes
1 answer
16 views

Where do I find server response data in socket.io-client?

I am interested in creating (for testing purposes) a fake client that mimics a browser accessing a route in a Node.js HTTP server. In the minimal example below, I am able to point an actual browser to ...
P. Lewis's user avatar
0 votes
0 answers
14 views

Generating PDF with Puppeteer: View Not Fully Captured and Leaflet Tiles Not Fully Loaded

I have an Angular application that contains only a Leaflet map. I've built an Express.js server using Puppeteer to capture the map and generate a PDF. I pass the zoom level and map layer as URL ...
Jihed Ben Zarb's user avatar
-1 votes
0 answers
19 views

Creating and managing multiple instances of whatsapp web js in Nodejs app

I want to create and manage multiple instances of whatsapp web js exactly as mentioned in the below post: Creating and managing multiple instances of whatsapp web js I got the source code of the "...
Muhammad Imran's user avatar
0 votes
0 answers
27 views

Express.js Server not listening

I am trying to run a backend server which communicates with the frontend. My frontend works fine. when I run node server.js in the terminal i get this message When i try to check if the server is ...
user14's user avatar
  • 9
-4 votes
1 answer
50 views

"Insert record if not present " logic is not working for some request if we hit 100 request per second in Node Express Application

I have made an POC application, where the requeirment is to insert the reocord if ther is no record present in the db. This logic is not working if we hit 100 request per second with same data. For ...
Chinmoy Samanta's user avatar
-2 votes
0 answers
22 views

index.js served extremely slow from webpack-dev-server on Windows 11 [closed]

This is a very strange problem. For some reason linux and mac hosts are totally fine, but on Windows 11, when we serve our large SPA with webpack-dev-server, the transfer speed for the index.js is ...
Novaterata's user avatar
  • 4,805
0 votes
0 answers
30 views

Clover POS payments API response

POSTMAN response for payment API Hi, I am developing a clover reporting software using clover platform API's. My client has provided me with a detailed report using the clover dashboard. Below are the ...
Hasaan Ali's user avatar
-1 votes
0 answers
30 views

NodeJS microservice architecture slow under load

To start with I'm not the one who created and setup the architecture, but forced to currently "fix" the problem. It's a 10+ ExpressJS microservices + API Gateway running as docker containers ...
gpavlov's user avatar
  • 105
1 vote
2 answers
30 views

Cookies (set-cookie header) lost after ~90 seconds of idle when post request is from external source. Express + express-session example

I have experienced very strange behavior of set-cookie header in request. Tried to deal with some api 3ds calls in payments online system, when need to redirect user in another tab/window and then ...
Dmo's user avatar
  • 25
0 votes
1 answer
18 views

Shopify OAuth Redirects to Online Store Orders Page Instead of Custom URL

I'm implementing Shopify OAuth for customer login in my custom Shopify app, but after authentication, Shopify redirects users to the store's orders page instead of my specified localhost:3000/account ...
yerrapragada011's user avatar
0 votes
0 answers
42 views

Firebase Cloud Functions CORS Issue When Using Credentials

I'm encountering a CORS error when I set my frontend API calls to include credentials. Without credentials, the requests work fine. However, once I set credentials: 'include', I no longer receive any ...
Mohamed DOURAI's user avatar
0 votes
0 answers
27 views

Server not receiving httpOnly Cookies (Node.js - Express)

I have kind of a weird problem: Using nginx and node.js with express, i set up two services on the same machine with multiple server blocks. One of them is an authentication server (i want to build ...
Leuchtkeks's user avatar
0 votes
0 answers
34 views
+100

Firebase Dynamic Links losing app parameters in Capacitor Browser redirect chain on Heroku

I have a weird issue with Firebase Dynamic Links in my Capacitor app. When using deep links to authenticate users via SAML, it looks to be losing specific URL parameters but only in my staging ...
J.Do's user avatar
  • 201
0 votes
0 answers
9 views

I keep getting a 404 when rendering css folders on railway

Whenever I try to host my express app on railway it gives a 404 when i try to get my CSS files. This is my file structure: Public - styles.css, output.css Views (index.ejs etc) - Partials (head.ejs): &...
Muhammad Ravat's user avatar
0 votes
0 answers
39 views

JSON object parsing got broken after upgrading NestJS from 10 to 11

I've got a NestJS application with simple POST endpoint: @Post() @HttpCode(HttpStatus.CREATED) public async create(@Body() model: SerializedModel, @Req() req): Promise<SomeDto> { const ...
irky's user avatar
  • 141
-5 votes
0 answers
32 views

I had this issue when I try to connect mysql server in window 10 WAMP server

const mysql = require('mysql2'); const express = require('express'); const bodyparser = require('body-parser'); var app = express(); app.use(express.urlencoded({ extended: true })); app.listen(...
Habtamu Yonatan's user avatar
-3 votes
0 answers
45 views

React app doesn't load if the page is refreshed? [duplicate]

I am developing a webbapplication using a MERN stack with React being the frontend. The App.js returns a React Router: return ( <div className="App"> <Router> ...
user28751094's user avatar
0 votes
0 answers
16 views

Why is Express sending Access-Control-Allow-Origin on OPTIONS but not on PATCH?

I'm using a fairly standard Express backend and React (with Redux and Axios) frontend for an app. It's working perfectly in my local development environment. When I deploy it, most requests work, but ...
Tristan R's user avatar
-3 votes
0 answers
50 views

Why am I getting error: is not a function? [duplicate]

I have: /services/db.js import mysql from "../node_modules/mysql2/promise.js"; import config from "./config.js"; async function query(sql, params) { const connection = await ...
Crowdpleasr's user avatar
  • 4,028
0 votes
1 answer
63 views

Getting Error code 404 from Phone Pe PG Integration via Web Flow in Express |Node JS

I am integrating Phone Pe Payment Gateway on my Web Application. Getting response as 404 from Phone Pe API {"success":false,"code":"404"} On the Backend I have done the ...
Aftab Ahmed's user avatar
1 vote
1 answer
31 views

Why is this Express Router catchall route overriding a route above it?

I can't figure out why this routing configuration, with eRouter being an express.Router() defined in an index.ts and passed in, is causing the top route of GET /wzdx/DeviceFeed to be overwritten and ...
jrkinnard's user avatar
0 votes
1 answer
46 views

Google Cloud Run weird behaviour only for path /healthz

I'm deploying a container on Google Cloud Run, the container serves formally an Express server (NestJS). In my application I declared 2 routes (and I tried with several names). Every route responds to ...
OtaconKiko's user avatar
0 votes
0 answers
35 views

How to integrate RabbitMQ in existing API calls

I have built an API endpoint to send mails based on Express. I currently call it using Axios when it is required making a post request directly to the route defined. So far so good. Now I am trying to ...
Lelio Faieta's user avatar
  • 6,684
-2 votes
1 answer
16 views

Supabase edge function with framework 404 [closed]

I'm trying to use Express (or any other framework for that matter) with Supabase Edge Functions, however i'm getting a 404 when hitting any route that has been configured. I followed the exact ...
Garrett's user avatar
  • 1,808
-4 votes
0 answers
32 views

How to Implement a Multiplayer Matchmaking Server Without Persistent Sockets? [closed]

I am building a multiplayer matchmaking game server using Express.js where: Clients join a queue and wait for enough players. The server periodically checks the queue and tries to create a match. ...
pramananda sarkar's user avatar
0 votes
2 answers
40 views

Express middleware to intercept responses and compare results

I'm writing middleware in NodeJS with Express API. I want to grab the response body and compare it with the results of another microservice. This is part of a process of replacing the current API. I'm ...
Gabriel Baierle's user avatar
-1 votes
1 answer
58 views

CORS Issue: Auth Cookie Gets Deleted After Redirect from Login to Dashboard (Deployed on Render/Vercel) [closed]

Problem Description I am facing an issue with authentication cookies getting deleted after redirecting from the login page to the dashboard in my MERN stack application. The application works ...
Krishna Tejaswi's user avatar
-2 votes
1 answer
49 views

Is Mongoose really an ORM, or is it something else? [duplicate]

I keep hearing people say that Mongoose is an ORM for MongoDB, but I thought ORMs are for relational databases like MySQL or PostgreSQL. Since MongoDB doesn’t use tables and rows but instead works ...
Rao Imtinan's user avatar
0 votes
1 answer
32 views

How do I redirect a user from a certain page to another in Backend?

I am creating a Full-Stack website, but I have a slight problem when it comes to entering back to my index.ejs, as I want my Backend code to automatically redirect the user from "myPage/index.ejs&...
Vishesh's user avatar
  • 18
0 votes
0 answers
22 views

Connecting Expo to Firebase Functions backend through Axios

I'm having problems with my frontend, which is a React Native project using Expo for visuals. I'm using the Expo Go mobile app for the connection. My backend runs locally using Firebase Functions. I'...
Noah Little's user avatar
1 vote
0 answers
81 views

Setting cookie's domain causes TypeError: option domain is invalid

Follow-up from Express session loses passport user ID on a Safari cookie every week . In Express and NodeJS, I want to set a cookie's domain so user agents see it as a first-party cookie. If I set it ...
emonigma's user avatar
  • 4,436
0 votes
0 answers
67 views

Name of video still "video.mp4" after downloading using yt-dlp

I'm using yt-dlp in a Node.js Express application to download videos from YouTube. I'm extracting the video title and using it to name the downloaded file, but all downloaded files are still named ...
Mohamad Karbejha's user avatar
0 votes
0 answers
39 views

I made a website for my conlang, and am having issues with multiple translations being displayed on pages [closed]

I created a conlang with my friend and we decided to make an online dictionary for it. All of the pages are dynamically generated using node.js, express, and handlebars. The data for the pages are ...
MCL_Playz's user avatar
0 votes
0 answers
21 views

ExpressJS msal-node handling multiple bearer tokens

I am writing an api gateway that reaches through Azure. So far I have been able to get a bearer token from msal-node, and then use that to retrieve a bearer token for the application but, now I am ...
Chris Richardson's user avatar
-1 votes
1 answer
29 views

Swagger : No operations defined in spec!, Express Typescript on Vercel

I'm using Swagger, and everything was working perfectly on my localhost. However, after deploying my project to Vercel, Swagger no longer works at all. I encountered the following error: Blank Page ...
exoo's user avatar
  • 3
-1 votes
1 answer
26 views

Error on Maptiler geocoding import method; tried Mapbox, but it requires the credit card info

I am new to backend development, and I am trying to use MapTiler's geocoding service to convert addresses into latitude and longitude (forward geocoding). My goal is to retrieve the latitude and ...
Dipesh's user avatar
  • 1
2 votes
0 answers
72 views

How can I efficiently process large PostgreSQL datasets in Node.js without high memory overhead?

I have a Node.js application that interacts with a PostgreSQL database containing millions of users. For a specific feature, I need to fetch around 100,000 users based on a criterion (for example, ...
Nightcrawler's user avatar
  • 1,081
3 votes
2 answers
52 views

Why does multer.diskStorage require a function for filename instead of a direct string?

const diskStorage = multer.diskStorage({ destination: 'uploads/', filename: (req, file, cb) => { cb(null, Date.now() + file.originalname); } }); why we cant assign file name ...
Naga mani kanta manam's user avatar
0 votes
0 answers
27 views

Next build can't resolve monorepo aliases. It's killing me

I am building a simple nextjs frontend with an express backend. I can run them both together in dev mode perfectly. But when I try to 'next build' the front package, there seem to be problems that I ...
dsmurl's user avatar
  • 123
0 votes
0 answers
29 views

Bundled Spring Boot React app on Cloud VM not able to access express server for images Failed to load resource: net::ERR_CONNECTION_REFUSED

I have a spring boot application bundled with React UI as fronend using <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> ...
Kris Swat's user avatar
  • 1,016
0 votes
0 answers
26 views

How do I create a deeplink for an Instagram Bio to bypass WKWebView or Android Webview and go straight to the user's default browser

I am looking to create a deeplink tool to use for myself to bypass the built in instagram browser and take the user straight to their default browser on their phone like Safari or Chrome. How is this ...
Kermit's user avatar
  • 89
-1 votes
0 answers
20 views

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client, i tried changing the logs but not working

Ggetting this error in aws ec2 pm2 logs tho code working fine in localhost TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option) /home/ubuntu/.pm2/pm2.log last 15 ...
Abhay Singh's user avatar
0 votes
1 answer
38 views

Checking if something exists

In trying to learn more about REST using node/express. I've noticed that in certain cases, like during sign-up, there are checks to make sure a user with that username / email does not already exist. ...
dRevan25's user avatar
0 votes
1 answer
19 views

Cookies are being deleted after a refresh

I've developed a client side with React and backend with Express. When I ran my application locally (on localhost), everything was working fine. 2 days ago deployed both my client and server into ...
Ben Ashkenazi's user avatar
0 votes
0 answers
41 views

Serving React application hoping through servers and using iframe

I have a scenario where I have two React applications. Application-1 opens Application-2 using an iframe. I can access Application-2 either directly or through the Application-1 iframe. However, when ...
Umair_007's user avatar
  • 143
0 votes
0 answers
88 views

How to send data from react js to a node js server?

So this is my server.js: const express = require("express"); const multer = require("multer"); const cors = require("cors"); const admin = require("firebase-admin&...
Gabi Moldovan's user avatar
-1 votes
1 answer
31 views

Downloading Original File Instead of .SVF from Autodesk Viewer

I'm trying to allow users to download models directly from the Autodesk Viewer in my web application. I followed this Autodesk blog post and successfully implemented the functionality using signed ...
Mahzabin Rashid Fariha's user avatar
0 votes
0 answers
13 views

keepSessionInfo for passport.js not working for versions 0.7-0.6?

Any calls made to my passport.authenticate() middleware deletes and recreates my req.session object. I need it to stay consistent because it's shared with my socket.io connection. After some digging I'...
chron1cle's user avatar

1
2 3 4 5
1911