Actions
Bug #15930
closed[workbench2] File upload sending invalid 'files' parameter
Story points:
-
Release:
Release relationship:
Auto
Description
Workbench2 sends this request. API server doesn't like the 'files' parameter.
POST https://172.17.0.2:8000/arvados/v1/collections
{"owner_uuid":"x1u39-tpzed-fr97h9t4m5jffxs", "name":"stuffer","files":[{"preview":"blob:https://172.17.0.2:3001/503e37b2-f019-437f-98b8-57e6a28f6c22"}]}
response
{"errors":[ "request failed: http://localhost:8004/arvados/v1/collections: 422 Unprocessable Entity: #\u003cActiveModel::UnknownAttributeError: unknown attribute 'files' for Collection.\u003e (req-a5as67d553g411ofq76j)"]}
Actions