You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't seem to be able to upload records to tables from CSV files using the uploader tool without accounting for every column in the table, (i.e., by making sure that every column appears in either the CSV file itself or the default_columns list in the config). This limitation does not appear to affect JSON files. This is becoming problematic for RBK, because we're beginning to support the "create a spreadsheet, save to CSV, upload" workflow for a few users.
/home/laura/upload-test/deriva/records/Common/upload_test_table.csv -- [DerivaUploadCatalogCreateError] [HTTPError] 400 Client Error: Bad Request for url: [https://dev.rebuildingakidney.org/ermrest/catalog/2/entity/Common:upload_test_table?defaults=RID,RCT,RMT,RCB,RMB] Details: b'400 Bad Request\nThe request is malformed. Missing expected CSV columns: "col2".\n' - Server responded: 400 Bad Request: The request is malformed. Missing expected CSV columns: "col2".
I'm using deriva-upload 0.8.4 from the client-tools distribution.
The text was updated successfully, but these errors were encountered:
I don't seem to be able to upload records to tables from CSV files using the uploader tool without accounting for every column in the table, (i.e., by making sure that every column appears in either the CSV file itself or the default_columns list in the config). This limitation does not appear to affect JSON files. This is becoming problematic for RBK, because we're beginning to support the "create a spreadsheet, save to CSV, upload" workflow for a few users.
To demonstrate the problem, I've created a very simple test table (https://dev.rebuildingakidney.org/ermrest/catalog/2/schema/Common/table/upload_test_table):
and I'm using this as my upload configuration (in a local config file):
I can upload this json file successfully:
But when I attempt to upload this csv file:
I get this error:
I'm using deriva-upload 0.8.4 from the client-tools distribution.
The text was updated successfully, but these errors were encountered: