Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API used in with-apollo is returning a 404 page #32731

Closed
glenngijsberts opened this issue Dec 22, 2021 · 3 comments
Closed

API used in with-apollo is returning a 404 page #32731

glenngijsberts opened this issue Dec 22, 2021 · 3 comments
Labels
examples Issue/PR related to examples good first issue Easy to fix issues, good for newcomers Upstream Related to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).

Comments

@glenngijsberts
Copy link
Contributor

What example does this report relate to?

with-apollo

What version of Next.js are you using?

latest

What version of Node.js are you using?

16.12.0

What browser are you using?

Chrome

What operating system are you using?

macOS

How are you deploying your application?

N/A

Describe the Bug

The with-apollo example is not working, see screenshot. This is because the API that's being used for Apollo is returning a 404 page as response, instead of an API response.

Screenshot 2021-12-22 at 14 16 26

Expected Behavior

Would be nice if the example would contain a working dummy API.

To Reproduce

Create example with yarn create next-app --example with-apollo with-apollo-app and verify it's not working after starting. Visit https://nextjs-graphql-with-prisma-simple.vercel.app/api, see that it's returning a 404 error.

@glenngijsberts glenngijsberts added the bug Issue was opened via the bug report template. label Dec 22, 2021
@balazsorban44 balazsorban44 added examples Issue/PR related to examples good first issue Easy to fix issues, good for newcomers Upstream Related to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.). and removed bug Issue was opened via the bug report template. labels Dec 22, 2021
@balazsorban44
Copy link
Member

balazsorban44 commented Dec 22, 2021

The upstream issue seems to be reported here already: prisma-labs/nextjs-graphql-api-examples#3

@balazsorban44
Copy link
Member

Fixed in #32759

@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
examples Issue/PR related to examples good first issue Easy to fix issues, good for newcomers Upstream Related to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).
Projects
None yet
Development

No branches or pull requests

2 participants