-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get a misleading error message when uploading file to data endpoint without setting a file name #220
Labels
good first issue
Good for newcomers
Comments
firefly/internal/apiserver/server.go Lines 130 to 152 in e9b7b74
|
Here's what I can perform func uploadHandler(w http.ResponseWriter, r *http.Request) {
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If uploading a file to the
/namespaces/{ns}/data
endpoint, and the file name is""
or not set, the request will fail with a misleading error message:{
"error": "FF10218: Error reading multi-part form input: EOF"
}
The text was updated successfully, but these errors were encountered: