fix(qdrant): handle 401/403 in ensureCollection for scoped JWTs (#4356)

This commit is contained in:
Huvee
2026-03-17 20:51:00 +08:00
committed by GitHub
parent 8230a5dac7
commit 9eb5b9ed29
+1 -1
View File
@@ -282,7 +282,7 @@ export class Qdrant implements VectorStore {
},
});
} catch (error: any) {
if (error?.status === 409) {
if (error?.status === 409 || error?.status === 401 || error?.status === 403) {
// Collection already exists — verify configuration for the main collection
if (name === this.collectionName) {
try {