Project

General

Profile

Bug #15930

Updated by Peter Amstutz almost 5 years ago

Workbench2 sends this request.    API server doesn't like the 'files' parameter. 

 POST https://172.17.0.2:8000/arvados/v1/collections 
 <pre> 
 {"owner_uuid":"x1u39-tpzed-fr97h9t4m5jffxs", 
 "name":"stuffer","files":[{"preview":"blob:https://172.17.0.2:3001/503e37b2-f019-437f-98b8-57e6a28f6c22"}]} 
 </pre> 

 response 
 <pre> 
 {"errors":[ 
 "request failed: http://localhost:8004/arvados/v1/collections: 422 Unprocessable Entity: #\u003cActiveModel::UnknownAttributeError: unknown attribute 'files' for Collection.\u003e (req-a5as67d553g411ofq76j)"]} 
 </pre> 

Back