wanderer
wanderer copied to clipboard
Auto-upload does not work for some GPX files
Presumably related to #56.
Some of my gpx files (example here, same as mentioned in #56) are not uploaded automatically from the auto-upload folder. When I run the job manually I get the following error message:
/app/uploads/9-la-sage-to-cabane-moiry.gpx
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6820 100 486 100 6334 46565 592k --:--:-- --:--:-- --:--:-- 666k
{
"url":"http://db:8090/api/collections/trails/records",
"status":400,
"response":{
"code":400,
"message":"Failed to create record.",
"data":{
"name":{
"code":"validation_required",
"message":"Missing required value."
}}},
"isAbort":false,
"originalError":{
"url":"http://db:8090/api/collections/trails/records",
"status":400,
"data":{
"code":400,
"message":
"Failed to create record.",
"data":{
"name":{
"code":"validation_required",
"message":"Missing required value."
}}}},
"name":"ClientResponseError 400"
}
Other GPX-files do get uploaded as expected, so it probably has something to do with the <rte>
tag again?