-
Notifications
You must be signed in to change notification settings - Fork 99
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
Unabled to Upload File #981
Comments
Hi, This is duplicate of the #945 I'm closing as a duplicate but subscribe to referenced bug for updates. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been trying to upload a file to api endpoint.
Expected outcome
Filed uploaded successfully.
Actual outcome
When using Content-Type: multipart/form-data i face and Internal Server Error:
{
"timestamp": 1489771142292,
"status": 500,
"error": "Internal Server Error",
"exception": "org.springframework.web.multipart.MultipartException",
"message": "Could not parse multipart servlet request; nested exception is java.io.IOException: org.apache.tomcat.util.http.fileupload.FileUploadException: the request was rejected because no multipart boundary was found",
"path": "/api/v1/invoices/upload"
}
And using Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW i face this error:
{
"status": 400,
"error": "Bad Request",
"exception": "org.springframework.web.multipart.support.MissingServletRequestPartException",
"message": "Required request part 'file' is not present",
"path": "/api/v1/invoices/upload"
}
PS.: That boundary value i've got from PostMan POST Request, which works great. if wasnt that, i could not even exit the Internal Server Error.
Versions
App: 9.14.64.305-stable
Chrome: 56.0.2924.87
Platform: Windows (10)
Steps to reproduce
The text was updated successfully, but these errors were encountered: