connectors icon indicating copy to clipboard operation
connectors copied to clipboard

Error shows in UI when connector is configured to sync to an alias

Open meghanmurphy1 opened this issue 5 months ago • 1 comments

Bug Description

When trying to configure a connector to an alias the UI shows an 'unexpected error' occurs.

Having a connector sync to an alias should be able to be done via DevTools or CLI after this issue was merged so this will involve some triaging to see if the fix is broken or if it's just a UI issue.

To Reproduce

Steps to reproduce the behavior:

  1. Configure a connector to sync to an alias via API
  2. Click on 'Index Name' of connector in Connectors dashboard
  3. Notice Error

Expected behavior

Users should be able to manually configure their connectors to sync to an alias

Screenshots

https://github.com/user-attachments/assets/1a725ccf-d214-4ef0-93be-a93832224535

Environment

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context

meghanmurphy1 avatar Aug 01 '25 17:08 meghanmurphy1

Agree with the above, I also had to set it up via dev tools but after that the UI is broken, and you have to manage everything via dev tools. In addition to that, the api key the connector creates (I only did this with the sharepoint connector so i'm not sure if it also applies to others), needs to be amended to support both indexname-alias and indexname-content-* otherwise you'll get errors at the end of each sync as it tries to tally up the documents added to it.

maxesse avatar Aug 04 '25 07:08 maxesse