tensorlakeai / indexify

A realtime serving engine for Data-Intensive Generative AI Applications
https://docs.getindexify.ai
Apache License 2.0
862 stars 99 forks source link

Downloading content returns an odd response #709

Closed grampelberg closed 3 months ago

grampelberg commented 3 months ago

If I go to download content /namespaces/{}/content/{}/download and the metadata exists but the content does not, the server returns a 200 with zero bytes. Feels like 500 would be a more correct response.

diptanu commented 3 months ago

@grampelberg Yikes. Good point. I would imagine it would be a bug if the metadata exists but the content doesn't.

grampelberg commented 3 months ago

@diptanu I think that I got into this state by using filters on the namespace.

maxkozlovsky commented 3 months ago

Fixed in #712