Closed kylehuynh205 closed 9 months ago
Error: Call to a member function getGroupType() on null in Drupal\search_api\Plugin\views\filter\SearchApiLanguage->query() (line 33 of /var/www/drupal/web/modules/contrib/search_api/src/Plugin/views/filter/SearchApiLanguage.php). On deleting group indexed item.
Edit: This was an error encountered due to a module I installed and nothing to do with search_api
In Configuration > System > Triplestore Indexer
there is an option to enable Basic Authentication
under Drupal Authentication
. It requires an administrator account to allow for endpoint access thus avoiding the 401 error.
Will look into incorporating JWT tokens instead of Basic Auth for security.
The module: https://www.drupal.org/project/triplestore_indexer
How to reproduce?
Diagnosis
/node/...?_format=jsonld
node/...?format=jsonld
has 401 error. That cause the white screenGoal
node/...?format=jsonld
if the node is in access control. ==> maybe use JWT token to get authenticated to the jsonld endpoint. (ie. https://github.com/digitalutsc/islandora_mirador/blob/drupal_mirador/islandora_mirador.module#L34)