Closed ghost closed 6 years ago
Steps to reproduce:
Expected result:
Returned object containing basic page nodes
Possibly related to Schemata + JSON API: "JSON API response failed validation" error message on node endpoints?
The website encountered an unexpected error. Please try again later. <br /> <em class="placeholder">AssertionError</em>: A JSON API response failed validation (see the logs for details). Please report this in the issue queue on drupal.org in <em class="placeholder">assert()</em> (line <em class="placeholder">182</em> of <em class="placeholder">modules/contrib/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php</em>). <pre class="backtrace">assert(, 'A JSON API response failed validation (see the logs for details). Please report this in the issue queue on drupal.org') (Line: 182) Drupal\jsonapi\EventSubscriber\ResourceResponseSubscriber->doValidateResponse(Object, Object) (Line: 172) Drupal\jsonapi\EventSubscriber\ResourceResponseSubscriber->onResponse(Object, 'kernel.response', Object) (Line: 108) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.response', Object) (Line: 193) Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object, Object, 1) (Line: 175) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 67) Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 40) Drupal\jsonapi\StackMiddleware\FormatSetter->handle(Object, 1, 1) (Line: 49) Asm89\Stack\Cors->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 664) Drupal\Core\DrupalKernel->handle(Object) (Line: 19) </pre>
Steps to reproduce:
Expected result:
Returned object containing basic page nodes
Possibly related to Schemata + JSON API: "JSON API response failed validation" error message on node endpoints?