We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff0b999 commit cf861f3Copy full SHA for cf861f3
src/openlayer/lib/data/batch_inferences.py
@@ -65,7 +65,7 @@ def upload_batch_inferences(
65
object_name=object_name,
66
presigned_url_response=presigned_url_response,
67
)
68
- if response.status_code != 200:
+ if response.status_code >= 300 or response.status_code < 200:
69
raise ValueError(f"Failed to upload file to storage: {response.text}")
70
71
# Notify the backend
0 commit comments