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

The SpaceX GraphQL Example Throws Application Error #65

Closed
sengupta-saikat opened this issue Jan 23, 2023 · 5 comments
Closed

The SpaceX GraphQL Example Throws Application Error #65

sengupta-saikat opened this issue Jan 23, 2023 · 5 comments

Comments

@sengupta-saikat
Copy link
Contributor

sengupta-saikat commented Jan 23, 2023

The SpaceX GraphQL Example Doesn't Work (Throws Application Error - HTTP/1.1 503 - Service Unavailable).
There is an open issue in that repo: SpaceXLand/api#241

<!DOCTYPE html>
<html>

<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta charset="utf-8">
  <title>Application Error</title>
  <style media="screen">
    html,
    body,
    iframe {
      margin: 0;
      padding: 0;
    }

    html,
    body {
      height: 100%;
      overflow: hidden;
    }

    iframe {
      width: 100%;
      height: 100%;
      border: 0;
    }
  </style>
</head>

<body>
  <iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe>
</body>

</html>
@sengupta-saikat
Copy link
Contributor Author

We can switch to another example like:

POST https://countries.trevorblades.com/graphql
Content-Type: application/json

query ExampleQuery {
    continents {
      code
      name
    }
}

@AnWeber
Copy link
Contributor

AnWeber commented Jan 23, 2023

Hi, the examples are not always up to date. I don't have an automated test that checks the correctness. Cool that you take care of it.
I would just add your example as extra test file. Those are mostly then the test files I click through when I do updates. But for graphql I rely mostly on my simple unit test.

@AnWeber
Copy link
Contributor

AnWeber commented Jan 25, 2023

I integrated the new service as default example. Thanks

@AnWeber AnWeber closed this as completed Jan 25, 2023
@sengupta-saikat
Copy link
Contributor Author

Thanks, @AnWeber for this great tool.

@AnWeber
Copy link
Contributor

AnWeber commented Jan 26, 2023

You are welcome:-)

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