1

Here's a reference setup of AWS Lambda and Serverless and GraphQL that i'm following:

https://github.com/serverless/serverless-graphql-apollo

I'm trying with yarn run start-server-lambda:offline to start the project offline, it does start without any problems, but upon navigating to /graphiql, I get this:

enter image description here

1
  • Can you include your serverless.yml and possibly the part of your handler where you set graphql endpoint that graphiql uses? Commented Sep 28, 2017 at 16:24

1 Answer 1

1

There's a configuration problem somewhere.

Basically, it's sending a request to /production/graphql when it should have been sending it to /graphql.

Sign up to request clarification or add additional context in comments.

2 Comments

it seems you were right about the misconfiguration. But it didn't solve everything. Now all requests to /graphiql return the UI html: github.com/Birowsky/serverless-graphql-apollo/commit/…
I commented on that repo.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.