hammond icon indicating copy to clipboard operation
hammond copied to clipboard

Fuelly import error 422

Open Vilhjalmr26 opened this issue 1 year ago • 2 comments

Using latest docker, trying to import fuelly csv, I get an "There was some issue with importing the file. Please check the error message" message. Format matches the 2 examples I was given. Only detail in the logs is:

[GIN] 2022/09/04 - 18:12:07 | 422 | 2.899524ms | 192.168.26.101 | POST "/api/import/fuelly"

Is there somewhere to get more data on the actual error? I tried modifying the example files to use the name of my created vehicle, and that failed as well. Just not sure where to look to find what the problem is.

Vilhjalmr26 avatar Sep 04 '22 18:09 Vilhjalmr26

I am seeing this same error when trying to import from fuelly

[GIN] 2022/09/20 - 11:19:10 | 422 | 1.539957ms | 192.168.29.248 | POST "/api/import/fuelly"

I even edited the csv to change the vehicle names to the hammond display name of 'vehicle name - reg#' and same issue

satcomtim avatar Sep 20 '22 11:09 satcomtim

I am getting the same error.

The HTML response is:

ErrorString	"request Content-Type isn't multipart/form-data"

At first the response was %e, because I had a 10% e tag. Removing the tag allowed the above response.


I have not used Fuelly more than playing around with it today to figure out how to import into Hammond. However, I have a Google sheet with 8 years of fill up data.

eniad avatar Oct 10 '22 00:10 eniad