This repository was archived by the owner on Feb 14, 2023. It is now read-only.
This repository was archived by the owner on Feb 14, 2023. It is now read-only.
StringError("text was not valid unicode") #106
Open
Description
So I was trying to use the multipart Iron example from the source... But the thing is when I upload a file specifically an image file it responds back with an error and doesn't respond back with the data fields... the error is stating this
Field "myfile" has 1 entries:
0: Some("1!.jpg") (Some(Mime(Image, Jpeg, []))):
ERROR 2018-08-12T20:32:00Z: iron::iron: Error handling:
Request {
url: Url { generic_url: "http://localhost:3000/req/send" }
method: Post
remote_addr: V4(127.0.0.1:52494)
local_addr: V4(127.0.0.1:3000)
}
Error was: Custom { kind: InvalidData, error: StringError("text was not valid unicode") }
I don't fully understand what this error means and why i'm getting it... but I feel like i'm doing something wrong but i'm not sure what though.
Metadata
Metadata
Assignees
Labels
No labels