From Obese Pintail, 5 Years ago, written in Plain Text.
Embed
  1. {
  2.   "error": {
  3.     "errors": [
  4.       {
  5.         "message": "Cannot query field \"contentInfo\" on type \"Content\". Did you mean \"contentId\" or \"contentVersion\"?",
  6.         "locations": [
  7.           {
  8.             "line": 18,
  9.             "column": 3
  10.           }
  11.         ],
  12.         "extensions": {
  13.           "code": "GRAPHQL_VALIDATION_FAILED",
  14.           "exception": {
  15.             "stacktrace": [
  16.               "GraphQLError: Cannot query field \"contentInfo\" on type \"Content\". Did you mean \"contentId\" or \"contentVersion\"?",
  17.               "    at Object.Field (/var/app/current/node_modules/graphql/validation/rules/FieldsOnCorrectType.js:64:31)",
  18.               "    at Object.enter (/var/app/current/node_modules/graphql/language/visitor.js:332:29)",
  19.               "    at Object.enter (/var/app/current/node_modules/graphql/language/visitor.js:383:25)",
  20.               "    at visit (/var/app/current/node_modules/graphql/language/visitor.js:250:26)",
  21.               "    at Object.validate (/var/app/current/node_modules/graphql/validation/validate.js:63:22)",
  22.               "    at Object.validateWithTrace (/var/app/current/node_modules/dd-trace/packages/datadog-plugin-graphql/src/index.js:84:33)",
  23.               "    at validate (/var/app/current/node_modules/apollo-server-core/dist/requestPipeline.js:211:32)",
  24.               "    at Object.<anonymous> (/var/app/current/node_modules/apollo-server-core/dist/requestPipeline.js:124:42)",
  25.               "    at Generator.next (<anonymous>)",
  26.               "    at fulfilled (/var/app/current/node_modules/apollo-server-core/dist/requestPipeline.js:4:58)"
  27.             ]
  28.           }
  29.         }
  30.       },
  31.       {
  32.         "message": "Cannot query field \"displayName\" on type \"SearchFacets\". Did you mean \"fieldName\"?",
  33.         "locations": [
  34.           {
  35.             "line": 24,
  36.             "column": 3
  37.           }
  38.         ],
  39.         "extensions": {
  40.           "code": "GRAPHQL_VALIDATION_FAILED",
  41.           "exception": {
  42.             "stacktrace": [
  43.               "GraphQLError: Cannot query field \"displayName\" on type \"SearchFacets\". Did you mean \"fieldName\"?",
  44.               "    at Object.Field (/var/app/current/node_modules/graphql/validation/rules/FieldsOnCorrectType.js:64:31)",
  45.               "    at Object.enter (/var/app/current/node_modules/graphql/language/visitor.js:332:29)",
  46.               "    at Object.enter (/var/app/current/node_modules/graphql/language/visitor.js:383:25)",
  47.               "    at visit (/var/app/current/node_modules/graphql/language/visitor.js:250:26)",
  48.               "    at Object.validate (/var/app/current/node_modules/graphql/validation/validate.js:63:22)",
  49.               "    at Object.validateWithTrace (/var/app/current/node_modules/dd-trace/packages/datadog-plugin-graphql/src/index.js:84:33)",
  50.               "    at validate (/var/app/current/node_modules/apollo-server-core/dist/requestPipeline.js:211:32)",
  51.               "    at Object.<anonymous> (/var/app/current/node_modules/apollo-server-core/dist/requestPipeline.js:124:42)",
  52.               "    at Generator.next (<anonymous>)",
  53.               "    at fulfilled (/var/app/current/node_modules/apollo-server-core/dist/requestPipeline.js:4:58)"
  54.             ]
  55.           }
  56.         }
  57.       },
  58.       {
  59.         "message": "Unknown type \"ContentInfo\". Did you mean \"Content\"?",
  60.         "locations": [
  61.           {
  62.             "line": 36,
  63.             "column": 25
  64.           }
  65.         ],
  66.         "extensions": {
  67.           "code": "GRAPHQL_VALIDATION_FAILED",
  68.           "exception": {
  69.             "stacktrace": [
  70.               "GraphQLError: Unknown type \"ContentInfo\". Did you mean \"Content\"?",
  71.               "    at Object.NamedType (/var/app/current/node_modules/graphql/validation/rules/KnownTypeNames.js:91:29)",
  72.               "    at Object.enter (/var/app/current/node_modules/graphql/language/visitor.js:332:29)",
  73.               "    at Object.enter (/var/app/current/node_modules/graphql/language/visitor.js:383:25)",
  74.               "    at visit (/var/app/current/node_modules/graphql/language/visitor.js:250:26)",
  75.               "    at Object.validate (/var/app/current/node_modules/graphql/validation/validate.js:63:22)",
  76.               "    at Object.validateWithTrace (/var/app/current/node_modules/dd-trace/packages/datadog-plugin-graphql/src/index.js:84:33)",
  77.               "    at validate (/var/app/current/node_modules/apollo-server-core/dist/requestPipeline.js:211:32)",
  78.               "    at Object.<anonymous> (/var/app/current/node_modules/apollo-server-core/dist/requestPipeline.js:124:42)",
  79.               "    at Generator.next (<anonymous>)",
  80.               "    at fulfilled (/var/app/current/node_modules/apollo-server-core/dist/requestPipeline.js:4:58)"
  81.             ]
  82.           }
  83.         }
  84.       },
  85.       {
  86.         "message": "Unknown type \"StateStandard\".",
  87.         "locations": [
  88.           {
  89.             "line": 59,
  90.             "column": 28
  91.           }
  92.         ],
  93.         "extensions": {
  94.           "code": "GRAPHQL_VALIDATION_FAILED",
  95.           "exception": {
  96.             "stacktrace": [
  97.               "GraphQLError: Unknown type \"StateStandard\".",
  98.               "    at Object.NamedType (/var/app/current/node_modules/graphql/validation/rules/KnownTypeNames.js:91:29)",
  99.               "    at Object.enter (/var/app/current/node_modules/graphql/language/visitor.js:332:29)",
  100.               "    at Object.enter (/var/app/current/node_modules/graphql/language/visitor.js:383:25)",
  101.               "    at visit (/var/app/current/node_modules/graphql/language/visitor.js:250:26)",
  102.               "    at Object.validate (/var/app/current/node_modules/graphql/validation/validate.js:63:22)",
  103.               "    at Object.validateWithTrace (/var/app/current/node_modules/dd-trace/packages/datadog-plugin-graphql/src/index.js:84:33)",
  104.               "    at validate (/var/app/current/node_modules/apollo-server-core/dist/requestPipeline.js:211:32)",
  105.               "    at Object.<anonymous> (/var/app/current/node_modules/apollo-server-core/dist/requestPipeline.js:124:42)",
  106.               "    at Generator.next (<anonymous>)",
  107.               "    at fulfilled (/var/app/current/node_modules/apollo-server-core/dist/requestPipeline.js:4:58)"
  108.             ]
  109.           }
  110.         }
  111.       }
  112.     ]
  113.   }
  114. }