200 code but no `predictions`


#1

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'

#2

What endpoint returned this response?


#3

object detection endpoint


#4

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.