200 code but no `predictions`


I have an issue where the API can return a 200 code (success) yet not have a predictions key, what could be causing this?

predictions_json = response.json()["predictions"]
KeyError: 'predictions'


What endpoint returned this response?


object detection endpoint


Would review this. Generally, in deepstack, there is a success key returned with every response. I believe it’s value would be false for this.