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

Internal Server Error when adding local schema #4

Open
Amoenus opened this issue Jan 2, 2021 · 1 comment
Open

Internal Server Error when adding local schema #4

Amoenus opened this issue Jan 2, 2021 · 1 comment

Comments

@Amoenus
Copy link

Amoenus commented Jan 2, 2021

Steps to Reproduce:

  • Click Create New Endpoint
  • Fill in required fields
  • Add the content of schema.graphql downloaded form Fauna
    image

Expected:
New endpoint is added and analysed

Actual:
Internal Server Error
image

@jimtje
Copy link

jimtje commented Jan 2, 2021

Having the same problem by introspection too, on both Chrome and Safari. Happens with the example api as well as others that work on other clients.

Default payload being sent:

{"operationName":"CreateGraphqlEndpoint","variables":{"input":{"name":"SpaceX","url":"https://api.spacex.land/graphql/","schema":""}},"query":"mutation CreateGraphqlEndpoint($input: CreateGraphqlEndpointInput!) {\n  createGraphqlEndpoint(input: $input) {\n    id\n    name\n    schema\n    url\n    queries {\n      name\n      body\n      __typename\n    }\n    mutations {\n      name\n      body\n      __typename\n    }\n    __typename\n  }\n}\n"}

Response:

{"errors":{"detail":"Internal Server Error"}}

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

2 participants