ListFoundation is not always available (step 1)

Created on 5 February 2025, 2 months ago

Problem/Motivation

One issue with AWS is that they have extremely granular permissions systems - this means for instance that you can have access to an actual model, but not permission to list which models you have permissions to.

This means that when we try to load the models list we might get a 401 back, with permissions failure.

This causes multiple issues where the model is supposed to be loaded and there is no exception handlig. Search API Server is one place.

We need to fix it and possibly fix so that you can define models yourself.

This is the first issue of two and solves the most critical issue.

Proposed resolution

Add try/catch around getting the model and just return an empty array.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany marcus_johansson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024