# \#server

**URL:** https://community.apollographql.com/tag/server/2.md

[Latest](https://community.apollographql.com/latest.md) · [Categories](https://community.apollographql.com/categories.md) · [Tags](https://community.apollographql.com/tags.md)

---

## [Embedded Sandbox is broken everywhere, including Apollo's own docs — sandbox.embed.apollographql.com](https://community.apollographql.com/t/embedded-sandbox-is-broken-everywhere-including-apollos-own-docs-sandbox-embed-apollographql-com/9977)

<div class="topic-metadata">

**Author:** [@deebugger](https://community.apollographql.com/u/deebugger)\
**Replies:** 3\
**Last updated:** [August 5, 2026, 10:21am UTC](https://community.apollographql.com/t/embedded-sandbox-is-broken-everywhere-including-apollos-own-docs-sandbox-embed-apollographql-com/9977 "2026-08-05T10:21:54Z")

</div>

Hello! The embedded Sandbox iframe fails to render for any browser with a cold cache. It boots, then a lazy route chunk 404s, the React ErrorBoundary catches it, and you’re left with a blank panel. This reproduces on y…

---

## [Subscriptions over HTTP multipart setup with Apollo Server + expressMiddleware](https://community.apollographql.com/t/subscriptions-over-http-multipart-setup-with-apollo-server-expressmiddleware/8647)

<div class="topic-metadata">

**Author:** [@yorkeJohn](https://community.apollographql.com/u/yorkeJohn)\
**Replies:** 2\
**Last updated:** [April 8, 2026, 12:50pm UTC](https://community.apollographql.com/t/subscriptions-over-http-multipart-setup-with-apollo-server-expressmiddleware/8647 "2026-04-08T12:50:36Z")

</div>

I can’t seem to find any documentation regarding the setup for Apollo Server to support subscriptions over HTTP multipart. The RFC specifies Apollo Server as an implementation, and the client docs talk about it too, but …

---

## [\[Action Required\] Security Notice from Apollo GraphQL regarding XS-Search vulnerability](https://community.apollographql.com/t/action-required-security-notice-from-apollo-graphql-regarding-xs-search-vulnerability/9758)

<div class="topic-metadata">

**Author:** [@glasser](https://community.apollographql.com/u/glasser)\
**Replies:** 0\
**Last updated:** [March 24, 2026, 8:00pm UTC](https://community.apollographql.com/t/action-required-security-notice-from-apollo-graphql-regarding-xs-search-vulnerability/9758 "2026-03-24T20:00:54Z")

</div>

Apollo has identified an issue in certain browsers that allows an attacker to circumvent Apollo Router and Apollo Server protection against read-only cross-site request forgery (CSRF) attacks. The browser vendor has conf…

---

## [Apollo Server v4 Error Handling](https://community.apollographql.com/t/apollo-server-v4-error-handling/7742)

<div class="topic-metadata">

**Author:** [@defect](https://community.apollographql.com/u/defect)\
**Replies:** 1\
**Last updated:** [February 18, 2026, 10:58pm UTC](https://community.apollographql.com/t/apollo-server-v4-error-handling/7742 "2026-02-18T22:58:49Z")

</div>

Hey folks. I’m upgrading our Node/Next ApolloServer from v3 to v4. I see formatError has changed slightly. Reading Error Handling - Apollo GraphQL Docs, it suggests that it should always at least be the original error th…

---

## [Configurable CORS in router](https://community.apollographql.com/t/configurable-cors-in-router/9554)

<div class="topic-metadata">

**Author:** [@mjfaga](https://community.apollographql.com/u/mjfaga)\
**Replies:** 1\
**Last updated:** [January 9, 2026, 7:50pm UTC](https://community.apollographql.com/t/configurable-cors-in-router/9554 "2026-01-09T19:50:24Z")

</div>

Hey folks - wondering if I’m missing something in the CORS config docs or if my very special situation just isn’t supported. I have to support two pretty different ecosystems: A chrome extension that runs everywhere a…

---

## [How to optimize graphql queries for interactive web apps?](https://community.apollographql.com/t/how-to-optimize-graphql-queries-for-interactive-web-apps/9616)

<div class="topic-metadata">

**Author:** [@carla-bruni88](https://community.apollographql.com/u/carla-bruni88)\
**Replies:** 0\
**Last updated:** [January 1, 2026, 7:01pm UTC](https://community.apollographql.com/t/how-to-optimize-graphql-queries-for-interactive-web-apps/9616 "2026-01-01T19:01:10Z")

</div>

Hi everyone, I’m working on a web app that integrates dynamic content and interactive features. One challenge I’ve faced recently involves optimizing graphql queries for performance, especially when handling media-heavy…

---

## [Apollo Server Tracing](https://community.apollographql.com/t/apollo-server-tracing/9602)

<div class="topic-metadata">

**Author:** [@Bilaaaaaaaaal](https://community.apollographql.com/u/Bilaaaaaaaaal)\
**Replies:** 0\
**Last updated:** [December 22, 2025, 11:09am UTC](https://community.apollographql.com/t/apollo-server-tracing/9602 "2025-12-22T11:09:09Z")

</div>

Hello guys! I have an express application that runs a graphql server. This was running on apollo server 3 and express 4. I recently upgraded it to Apollo server 5 and express 5. I also had to upgrade my dataloader/batchi…

---

## [Handling complex async execution and debugging in apollo](https://community.apollographql.com/t/handling-complex-async-execution-and-debugging-in-apollo/9584)

<div class="topic-metadata">

**Author:** [@heidi477](https://community.apollographql.com/u/heidi477)\
**Replies:** 0\
**Last updated:** [December 15, 2025, 8:47pm UTC](https://community.apollographql.com/t/handling-complex-async-execution-and-debugging-in-apollo/9584 "2025-12-15T20:47:14Z")

</div>

Hi everyone, I’m running into some challenges managing complex async execution flows in an Apollo-based setup, especially when multiple dependent operations fail silently or are hard to trace. While searching for better…

---

## [SSR has 100% miss on AST print cache](https://community.apollographql.com/t/ssr-has-100-miss-on-ast-print-cache/9475)

<div class="topic-metadata">

**Author:** [@joeyciechanowicz](https://community.apollographql.com/u/joeyciechanowicz)\
**Replies:** 0\
**Last updated:** [October 2, 2025, 10:34am UTC](https://community.apollographql.com/t/ssr-has-100-miss-on-ast-print-cache/9475 "2025-10-02T10:34:27Z")

</div>

When server-side rendering I’ve noticed that a lot of memory allocation and CPU time is spent printing the query AST. The printer does have a cache, but you get a 100% cache miss rate as the query gets transformed by th…

---

## [How to disable rate-limiting for all the subgraphs?](https://community.apollographql.com/t/how-to-disable-rate-limiting-for-all-the-subgraphs/9384)

<div class="topic-metadata">

**Author:** [@mostafao-spotify](https://community.apollographql.com/u/mostafao-spotify)\
**Replies:** 2\
**Last updated:** [August 22, 2025, 5:09pm UTC](https://community.apollographql.com/t/how-to-disable-rate-limiting-for-all-the-subgraphs/9384 "2025-08-22T17:09:06Z")

</div>

We’re using the router as a standalone service and I’m a bit confused on how the rate limiting works in it, I’m trying to disable it completely because every now and then we receive a rate limiting error, even though we …

---

## [Is is possible to convey extensions from a subgraph?](https://community.apollographql.com/t/is-is-possible-to-convey-extensions-from-a-subgraph/5815)

<div class="topic-metadata">

**Author:** [@donald.ball](https://community.apollographql.com/u/donald.ball)\
**Replies:** 1\
**Last updated:** [August 7, 2025, 2:33pm UTC](https://community.apollographql.com/t/is-is-possible-to-convey-extensions-from-a-subgraph/5815 "2025-08-07T14:33:03Z")

</div>

We have a gqlgen subgraph running behind the nodejs apollo federated server (@apollo/gateway@2.3.2; @apollo/server@4.4.0). We’d like to offer some semi-structured data for certain queries in the extensions portion of the…

---

## [Agentic GraphQL: MCP for the Enterprise tutorial, Apollo Runtime container error](https://community.apollographql.com/t/agentic-graphql-mcp-for-the-enterprise-tutorial-apollo-runtime-container-error/9342)

<div class="topic-metadata">

**Author:** [@Denson\_Dube](https://community.apollographql.com/u/Denson_Dube)\
**Replies:** 3\
**Last updated:** [August 5, 2025, 8:28pm UTC](https://community.apollographql.com/t/agentic-graphql-mcp-for-the-enterprise-tutorial-apollo-runtime-container-error/9342 "2025-08-05T20:28:58Z")

</div>

docker run command gives an error: docker: error during connect: Head “http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/\_ping”: open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified. I am ru…

---

## [\`ApolloServerOptions\<TContext\>\` is not assignable](https://community.apollographql.com/t/apolloserveroptions-tcontext-is-not-assignable/9224)

<div class="topic-metadata">

**Author:** [@mittalyashu](https://community.apollographql.com/u/mittalyashu)\
**Replies:** 1\
**Last updated:** [June 23, 2025, 6:07pm UTC](https://community.apollographql.com/t/apolloserveroptions-tcontext-is-not-assignable/9224 "2025-06-23T18:07:23Z")

</div>

the title is bit vague, not sure what is the exact source of the issue I am trying to migrate the apollo server from v3 to v4, the dev server seems to be working fine without any runtime errors (related to apollo server…

---

## [Float field returns whole number when decimal is \`.0\`](https://community.apollographql.com/t/float-field-returns-whole-number-when-decimal-is-0/9115)

<div class="topic-metadata">

**Author:** [@tylergoelz](https://community.apollographql.com/u/tylergoelz)\
**Replies:** 4\
**Last updated:** [June 19, 2025, 1:03am UTC](https://community.apollographql.com/t/float-field-returns-whole-number-when-decimal-is-0/9115 "2025-06-19T01:03:34Z")

</div>

Long question short, should I create a Decimal scalar? And if so is there a way to preserve it as an INT with trailing zeros instead of needing to convert it to a string? There is a need from my consumers to always rec…

---

## [Apollo graphql throwing errors on frontend when there are some fields missing in the graph ql response](https://community.apollographql.com/t/apollo-graphql-throwing-errors-on-frontend-when-there-are-some-fields-missing-in-the-graph-ql-response/9169)

<div class="topic-metadata">

**Author:** [@optimistic](https://community.apollographql.com/u/optimistic)\
**Replies:** 2\
**Last updated:** [June 10, 2025, 9:46pm UTC](https://community.apollographql.com/t/apollo-graphql-throwing-errors-on-frontend-when-there-are-some-fields-missing-in-the-graph-ql-response/9169 "2025-06-10T21:46:12Z")

</div>

Query : query sample { accountBalance(issuanceRequired: true) { uCardAccountBalance { purses { uCardPurseType promotionId availableAmount start…

---

## [Filtering on fields across multiple subgraphs](https://community.apollographql.com/t/filtering-on-fields-across-multiple-subgraphs/9108)

<div class="topic-metadata">

**Author:** [@steffen](https://community.apollographql.com/u/steffen)\
**Replies:** 2\
**Last updated:** [June 10, 2025, 7:45am UTC](https://community.apollographql.com/t/filtering-on-fields-across-multiple-subgraphs/9108 "2025-06-10T07:45:52Z")

</div>

Hello, Currently I’m working on a POC to migrate some of our frontend api’s to GraphQL with federation. In one of the use cases I have the following two subgraphs(simplified for the sake of abbreviation). # Organisati…

---

## [Safe Schema update of gateway (polling), Hot Schema Reloading in Apollo Gateway Without Process Restart](https://community.apollographql.com/t/safe-schema-update-of-gateway-polling-hot-schema-reloading-in-apollo-gateway-without-process-restart/9117)

<div class="topic-metadata">

**Author:** [@Arth\_Gupta](https://community.apollographql.com/u/Arth_Gupta)\
**Replies:** 0\
**Last updated:** [May 30, 2025, 6:49am UTC](https://community.apollographql.com/t/safe-schema-update-of-gateway-polling-hot-schema-reloading-in-apollo-gateway-without-process-restart/9117 "2025-05-30T06:49:09Z")

</div>

In our production setup, we use Apollo Gateway (with NestJS) to federate multiple GraphQL subgraphs. Our biggest challenge is safely updating the federated schema in a running Gateway instance without restarting the enti…

---

## [Why is request batching disabled by default in v4?](https://community.apollographql.com/t/why-is-request-batching-disabled-by-default-in-v4/8934)

<div class="topic-metadata">

**Author:** [@teja42](https://community.apollographql.com/u/teja42)\
**Replies:** 0\
**Last updated:** [April 16, 2025, 9:10pm UTC](https://community.apollographql.com/t/why-is-request-batching-disabled-by-default-in-v4/8934 "2025-04-16T21:10:12Z")

</div>

I was working on something and found batching to be really useful for my use case but then realised that it is disabled by default. Enabling it very easy but I’m trying to understand the reason for disabling it by defaul…

---

## [Comprehensive GraphQL Specification Proposal](https://community.apollographql.com/t/comprehensive-graphql-specification-proposal/8916)

<div class="topic-metadata">

**Author:** [@Aleksandar\_Susnjar](https://community.apollographql.com/u/Aleksandar_Susnjar)\
**Replies:** 3\
**Last updated:** [April 16, 2025, 2:26pm UTC](https://community.apollographql.com/t/comprehensive-graphql-specification-proposal/8916 "2025-04-16T14:26:27Z")

</div>

Note: this isn’t quite a Schema Design post, but I couldn’t find a more suitable category. I’ve put some more time last weekend to work on a comprehensive GraphQL specification proposal. It is now almost ready to be s…

---

## [Ephemeral deploys for E2E testing in staging/pre-prod environments](https://community.apollographql.com/t/ephemeral-deploys-for-e2e-testing-in-staging-pre-prod-environments/8868)

<div class="topic-metadata">

**Author:** [@johnmarkham](https://community.apollographql.com/u/johnmarkham)\
**Replies:** 4\
**Last updated:** [April 10, 2025, 12:03am UTC](https://community.apollographql.com/t/ephemeral-deploys-for-e2e-testing-in-staging-pre-prod-environments/8868 "2025-04-10T00:03:51Z")

</div>

We want to leverage ephemeral schema variants and ephemeral router deployments to support a stable E2E testing flow in our staging environment. Internally, our deployment sister team is building out our ephemeral deploy…

---

## [Error in using expressMiddleware](https://community.apollographql.com/t/error-in-using-expressmiddleware/8415)

<div class="topic-metadata">

**Author:** [@Mehdi\_Anoosheh](https://community.apollographql.com/u/Mehdi_Anoosheh)\
**Replies:** 3\
**Last updated:** [April 4, 2025, 1:52pm UTC](https://community.apollographql.com/t/error-in-using-expressmiddleware/8415 "2025-04-04T13:52:22Z")

</div>

Hi in this code I tried to use middleWare in express typescript but when I type: app.use(‘/graphql’, expressMiddleware(server)); I receive this error: " No overload matches this call. The last overload gave the fol…

---

## [How do you feel about API security?](https://community.apollographql.com/t/how-do-you-feel-about-api-security/8688)

<div class="topic-metadata">

**Author:** [@Aleksandar\_Susnjar](https://community.apollographql.com/u/Aleksandar_Susnjar)\
**Replies:** 0\
**Last updated:** [March 6, 2025, 5:16pm UTC](https://community.apollographql.com/t/how-do-you-feel-about-api-security/8688 "2025-03-06T17:16:45Z")

</div>

Just trying to gauge the level of need and awareness of what it takes to expose a secure API… Before reading anything I may think about it: Do you “feel” that the REST ecosystem is inherently more secure than GraphQL ……

---

## [What's the best practice to migrate fields to a different subgraph](https://community.apollographql.com/t/whats-the-best-practice-to-migrate-fields-to-a-different-subgraph/8668)

<div class="topic-metadata">

**Author:** [@Jesse](https://community.apollographql.com/u/Jesse)\
**Replies:** 5\
**Last updated:** [March 4, 2025, 9:51pm UTC](https://community.apollographql.com/t/whats-the-best-practice-to-migrate-fields-to-a-different-subgraph/8668 "2025-03-04T21:51:34Z")

</div>

hi team, I’m just coming across an issue now when I want to migrate field from my subgraph to a different one. I understand override directive is the suggested approach. However my case is a bit different. The field …

---

## [Problems with ETags - Apollo router strips Etag](https://community.apollographql.com/t/problems-with-etags-apollo-router-strips-etag/8552)

<div class="topic-metadata">

**Author:** [@Jensileus](https://community.apollographql.com/u/Jensileus)\
**Replies:** 3\
**Last updated:** [February 19, 2025, 3:31pm UTC](https://community.apollographql.com/t/problems-with-etags-apollo-router-strips-etag/8552 "2025-02-19T15:31:37Z")

</div>

Here is a query directly to my microservice: \`xx@xx:~$ curl -i -X POST -H “Content-Type: application/json” -H “X-User-Id: 4” -d ‘{ “query”: “query { hasUserPhoto }” }’ http://localhost:5017/graphql HTTP/1.1 200…

---

## [Can we configure new rules in schema checks and linter checks?](https://community.apollographql.com/t/can-we-configure-new-rules-in-schema-checks-and-linter-checks/6443)

<div class="topic-metadata">

**Author:** [@ankit9787](https://community.apollographql.com/u/ankit9787)\
**Replies:** 2\
**Last updated:** [February 11, 2025, 1:27am UTC](https://community.apollographql.com/t/can-we-configure-new-rules-in-schema-checks-and-linter-checks/6443 "2025-02-11T01:27:08Z")

</div>

Hi Apollo team I see rover subgraph check command is there to check subgraph for schema and linting checks, so I get it you have your own rules but can they be modified. Suppose I want a rule that, inside query user ca…

---

## [DataSource Initialization in AS4](https://community.apollographql.com/t/datasource-initialization-in-as4/8313)

<div class="topic-metadata">

**Author:** [@sailesh](https://community.apollographql.com/u/sailesh)\
**Replies:** 8\
**Last updated:** [February 4, 2025, 6:54pm UTC](https://community.apollographql.com/t/datasource-initialization-in-as4/8313 "2025-02-04T18:54:39Z")

</div>

I’m facing memory leaks and it seems like related to the way we initialize our datasources. As per this issue #6047, we’re creating a new DataSources object on each request, which we were doing in AS3 as well. But the d…

---

## [Apollo Integration Testing](https://community.apollographql.com/t/apollo-integration-testing/2206)

<div class="topic-metadata">

**Author:** [@javida1492](https://community.apollographql.com/u/javida1492)\
**Replies:** 1\
**Last updated:** [January 31, 2025, 10:03pm UTC](https://community.apollographql.com/t/apollo-integration-testing/2206 "2025-01-31T22:03:15Z")

</div>

I am looking into apollo integration testing and the only information there is is in this article (Integration Testing - Apollo GraphQL Docs) but I am looking for some more in-depth or complete examples as this doesnt re…

---

## [GraphQLResolverMap no longer includes GraphQLScalarType](https://community.apollographql.com/t/graphqlresolvermap-no-longer-includes-graphqlscalartype/6259)

<div class="topic-metadata">

**Author:** [@Clemens](https://community.apollographql.com/u/Clemens)\
**Replies:** 0\
**Last updated:** [May 15, 2023, 5:53pm UTC](https://community.apollographql.com/t/graphqlresolvermap-no-longer-includes-graphqlscalartype/6259 "2023-05-15T17:53:06Z")

</div>

I am upgrading from Apollo 2 to 3 (long overdue, I know) and while I’m at it, I also bumped graphql from 15.6.0 to 16.6.0. My compiler is spitting out errors that I traced down to the GraphQLResolverMap no longer accept…

---

## [Is it possible to have a object in typeDefs without having to declare it explicitly](https://community.apollographql.com/t/is-it-possible-to-have-a-object-in-typedefs-without-having-to-declare-it-explicitly/6108)

<div class="topic-metadata">

**Author:** [@Hernans](https://community.apollographql.com/u/Hernans)\
**Replies:** 0\
**Last updated:** [April 8, 2023, 11:06pm UTC](https://community.apollographql.com/t/is-it-possible-to-have-a-object-in-typedefs-without-having-to-declare-it-explicitly/6108 "2023-04-08T23:06:11Z")

</div>

hi there im new to apollo server, im doing the backend of a cooking site, the thing is that in my mongo schema i got this code const recipeSchema = new Schema({ title: { type: String, required: true …

---

## [I need suggestion on how to optimize GraphQL queries for performance](https://community.apollographql.com/t/i-need-suggestion-on-how-to-optimize-graphql-queries-for-performance/7643)

<div class="topic-metadata">

**Author:** [@alina](https://community.apollographql.com/u/alina)\
**Replies:** 0\
**Last updated:** [June 21, 2024, 7:38am UTC](https://community.apollographql.com/t/i-need-suggestion-on-how-to-optimize-graphql-queries-for-performance/7643 "2024-06-21T07:38:43Z")

</div>

Hey guys! :smiling\_face\_with\_three\_hearts: I am building our backend API with Apollo Server and GraphQL, and things are going well for the most part. However, we’ve noticed some GraphQL queries taking a while to execut…

[Next page](https://community.apollographql.com/tag/server/2.md?match_all_tags=true&page=1&tags%5B%5D=server)
