Project

General

Profile

Actions

Bug #15930

closed

[workbench2] File upload sending invalid 'files' parameter

Added by Peter Amstutz over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Story points:
-
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

Also available in: Atom PDF