FATE icon indicating copy to clipboard operation
FATE copied to clipboard

How to reslove KeyError: 'file' in /v1/data/upload

Open yyouyou opened this issue 5 years ago • 3 comments

When I run '/v1/data/upload', I meet this, KeyError: 'file'.

My request params are { "file": "examples/data/breast_hetero_guest.csv", "table_name": "hetero_breast_guest", "namespace": "experiment", "head": 1, "partition": 8, "work_mode": 0, "backend": 0 }

and response is

400 Bad Request

Bad Request

The browser (or proxy) sent a request that this server could not understand.

KeyError: 'file'

yyouyou avatar Mar 30 '21 06:03 yyouyou

hi, how did you fix this issue?

xkf4806 avatar Oct 11 '21 09:10 xkf4806

This issue has been marked as stale because it has been open for 365 days with no activity. If this issue is still relevant or if there is new information, please feel free to update or reopen it.

github-actions[bot] avatar Jul 09 '24 06:07 github-actions[bot]

This issue was closed because it has been inactive for 1 days since being marked as stale. If this issue is still relevant or if there is new information, please feel free to update or reopen it.

github-actions[bot] avatar Jul 10 '24 07:07 github-actions[bot]