We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4772247 commit 790bac2Copy full SHA for 790bac2
services/storage/src/simcore_service_storage/handlers.py
@@ -181,6 +181,9 @@ async def get_file_metadata(request: web.Request):
181
location = dsm.location_from_id(location_id)
182
183
data = await dsm.list_file(user_id=user_id, location=location, file_uuid=file_uuid)
184
+ # when no metadata is found
185
+ if data is None:
186
+ return {"error": "No result found", "data": {}}
187
188
envelope = {
189
"error": None,
0 commit comments