-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ApolloError: Query failed upstream when using Apollo Client in Next.js app #372
Comments
From React Unhandled runtime
|
Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Client usage and allow us to serve you better. |
Description:
I am encountering an
ApolloError: Query failed upstream
when using Apollo Client in my Next.js 14 app. The issue occurs when attempting to execute a query usingPreloadQuery
. Here’s the error stack trace:Code Snippet:
The issue happens when querying data using this component:
The main issue happend when I use preload query with suspense query.
What I’ve Tried:
http://localhost:8080/graphql
) is accessible and working.Expected Behavior:
The query should succeed and return the appropriate data without any errors.
Actual Behavior:
The query fails with the error
ApolloError: Query failed upstream.
Environment:
Additional Information:
PreloadQuery
with Apollo’s new Next.js App Router integration.SSRMultipartLink
.The text was updated successfully, but these errors were encountered: