- Issue created by @marcus_johansson
- 🇩🇪Germany marcus_johansson
Witht he new structure this is not needed, an empty array will always be given back.
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.
Add try/catch around getting the model and just return an empty array.
Active
1.0
Code
Witht he new structure this is not needed, an empty array will always be given back.