Skip to content

Unexpected error when making requests from Apollo Explorer #238

Open
@bignimbus

Description

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! 🙇🏻

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions