hyperledger-firefly / hyperledger-firefly/firefly

Get a misleading error message when uploading file to data endpoint without setting a file name

Open
#220 3 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Go
Stars
602
Forks
246
Avg merge
18h 47m
Merged PRs (30d)
6

Description

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"
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.