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

`req.body` is not set when using Apollo Server with Express – Middleware issue?

I'm learning GraphQL and trying to set up Apollo Server with Express (v4), but I keep getting the following error when making a request to /graphql: req.body is not set; this probably means you forgot ...
divesh saini's user avatar
0 votes
0 answers
42 views

Connection to the Express/Apollo Server fails from certain networks

I have a React frontend using Apollo Client to interact with a backend GraphQL server. The GraphQL server is a Node.js application utilizing Express and Apollo Server, and it communicates with ...
Tomáš Soukup's user avatar
0 votes
0 answers
11 views

Why aren't cookies being sent in server-side GraphQL requests using graphql-request?

I'm using Apollo Server and GraphQL for making requests, and everything works fine in the client-side component. When I send a request from the client-side component, the cookies are correctly ...
m__mdy__m's user avatar
0 votes
1 answer
43 views

GraphQL not accepting login credentials

So I'm trying to create a user for my task management app, I'm using Express.js, Sequelize ORM for PostGres and Apollo/Server for graphql. Creating a user works fine, but when I try to login using ...
Edens Fallen Leaf's user avatar
0 votes
0 answers
11 views

Error: shouldn't happen: missing parent type for field

I am using Apollo federation with node js and getting this error, I am not able to track where the error is happening, how to track this error in which query it's happening and how to fix it Error: ...
Vasu Rangpariya's user avatar
2 votes
0 answers
59 views

Cannot open Apollo Server (`/graphql`) on a Deployed Strapi CMS

I am building a Strapi CMS with the GraphQL plugins. On my local development environment, I can access the GraphQL frontend using localhost:1337/graphql. However, when I deploy it on render.com, the /...
Daffa' Alexander's user avatar
0 votes
0 answers
16 views

Can I filter the queries and mutations based in their names in the GraphQL schema to be hidden in the Apollo Server Playground?

I'm using GraphQL inside a NestJS application which serves different resolvers with different queries and mutations. The generated schema is consumed by a Angular application using Apollo Client. I ...
frankfullstack's user avatar
0 votes
0 answers
24 views

Apollo Server, Express.js and Mongoose Deployment on Netlify

everyone I want to deploy my project which is created by express.js, mongoose and apollo server on Netlify and when I run the project by "set NODE_ENV=development&& npm run start:lambda&...
Towfiq Amiri's user avatar
0 votes
2 answers
41 views

Displaying pure JSON format with black background in GraphQL Express React

I'm having issue of displaying the response of the API. It appears white like this Which is should be similar like this My code in the backend server: main.ts import { typeDefs, resolvers } from './...
VireZee's user avatar
  • 58
0 votes
0 answers
49 views

does Apollo Sandbox work completely without login?

I am trying to find if this is really the case OR login is required for a reduced set of use cases. The most notorious case is that of Operations Collections. I couldn’t find out how to save ...
tnarik's user avatar
  • 159
1 vote
0 answers
49 views

How to handle GraphQL subscription errors in Apollo Server, similar to formatError for queries and mutations?

I'm trying to handle errors in GraphQL subscriptions in Apollo Server the same way I handle them for queries and mutations using formatError. Here’s my setup: export default async () => { const ...
Unlucky's user avatar
  • 459
1 vote
1 answer
27 views

Issue with TypeScript Generics in Apollo Server PubSub Implementation

I'm implementing subscriptions in Apollo Server using TypeScript and a PubSub class for event handling. However, I've encountered an issue when trying to use a named interface for the PubSub generic ...
Unlucky's user avatar
  • 459
1 vote
1 answer
140 views

Apollo GraphQL Server: RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>> is not assignable to Application<Record<string, any>>

I am setting up an Express-Typescript application to create a GraphQL server using ApolloServer. However, I encountered a type error while trying to use expressMiddleware for my GraphQL endpoint. Here'...
Lovish Bansal's user avatar
0 votes
0 answers
36 views

request size did not match content length - GraphQL file Upload

I am using apollo client react UI "@apollo/client": "^3.8.1", "apollo-link": "^1.2.14", "apollo-upload-client": "^18.0.1" **NodeJs ** "...
BALAJI V S's user avatar
0 votes
1 answer
74 views

Typescript Issue with asyncIterator in Apollo Server Subscriptions and PubSub

I'm implementing Apollo Server subscriptions with TypeScript and facing an issue with a PubSub-based subscription system. I followed the official Apollo documentation, but encountered the following ...
Unlucky's user avatar
  • 459

15 30 50 per page
1
2 3 4 5
142