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

Unexpected error when making requests from Apollo Explorer #238

Open
bignimbus opened this issue Jan 15, 2025 · 0 comments
Open

Unexpected error when making requests from Apollo Explorer #238

bignimbus opened this issue Jan 15, 2025 · 0 comments

Comments

@bignimbus
Copy link

Hi all 👋🏻 when attempting to execute queries from https://studio.apollographql.com/public/star-wars-swapi/variant/current/explorer , users are reporting errors. Here's the output from diagnose-endpoint in case it is helpful:

Diagnosing https://swapi-graphql.netlify.app/.netlify/functions/index
⚠️   OPTIONS response is missing header 'access-control-allow-methods: POST'
⚠️   POST response missing 'access-control-allow-origin' header.
If using cookie-based authentication, the following headers are required from your endpoint:
    access-control-allow-origin: https://studio.apollographql.com
    access-control-allow-credentials: true
Otherwise, a wildcard value would work:
    access-control-allow-origin: *
Screenshot 2025-01-15 at 6 54 07 AM

Let me know if there's anything I can do to help narrow this down or if you think there's an update that needs to be made to Studio, thank you! 🙇🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant