Problem/Motivation

When exporting new synonyms to Acquia Cloud Search, the following error occurs:
Client error: `DELETE https://[domain]/solr/[env-id]/schema/analysis/synonyms/english/[synonym]` resulted in a `403 Forbidden`
response:
Authorization Failed

However, adding terms works fine if I comment out the line of code: $this->purgeSolrSynoymns($solr_connector);

Steps to reproduce

  1. Create new synonyms
  2. Click the "Import to Solr" button OR run the following drush command: drush ssolr-syn-ex --plugin=solr_uploader --langcode=en

Proposed resolution

Maybe there would be a way to use the Solr connector rather than a POST request so that the connection is made before sending the query, but I can't figure out how to do it.

Comments

franckylfs created an issue. See original summary.

bhojwanipankaj05’s picture

Status: Active » Needs review

Hi @franckylfs,

If possible, could you please share the details along with screenshots? I’ve tested it across multiple environments, and it seems to be working fine on my end.

Thanks,

bhojwanipankaj05’s picture

Status: Needs review » Closed (outdated)