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

Querying for translations on categories causes Internal server error #16

Open
CalebBarnes opened this issue Feb 12, 2020 · 1 comment
Open

Comments

@CalebBarnes
Copy link

As the title says, querying translations in categories causes an internal server error.

Query:

{
  categories {
    nodes {
      translations {
        id
      }
    }
  }
}

Response:

{
  "errors": [
    {
      "message": "Internal server error",
      "category": "internal",
      "locations": [
        {
          "line": 5,
          "column": 9
        }
      ],
      "path": [
        "categories",
        "nodes",
        0,
        "translations",
        0,
        "id"
      ]
    },
    {
      "message": "Internal server error",
      "category": "internal",
      "locations": [
        {
          "line": 5,
          "column": 9
        }
      ],
      "path": [
        "categories",
        "nodes",
        1,
        "translations",
        0,
        "id"
      ]
    }
  ],
  "data": {
    "categories": {
      "nodes": [
        {
          "translations": [
            null
          ]
        },
        {
          "translations": [
            null
          ]
        }
      ]
    }
  }
}
@esamattis
Copy link
Member

Maybe related to? #15

Try with the GRAPHQL_DEBUG?

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