geotab / addin-fuel-transaction-import Goto Github PK
View Code? Open in Web Editor NEWAddin to read fuel card transactions from a file and import to MyGeotab database
License: Other
Addin to read fuel card transactions from a file and import to MyGeotab database
License: Other
Hi guys,
I am working on adding a new parser for Ultramar CSV format, but in testing on my database the add-in does not work. When I submit the file, I get an error (even with the provided example).
This is what Chrome chokes on:
"Unexpected token < in JSON at position 0"
This is what the request looks like:
------WebKitFormBoundaryPzJYUB8o918BgI2A
Content-Disposition: form-data; name="fileToUpload"; filename="generic_fuel_card_csv_file_sample.csv"
Content-Type: text/csv
------WebKitFormBoundaryPzJYUB8o918BgI2A
Content-Disposition: form-data; name="JSON-RPC"
{"id":-1,"method":"ExcelToJson","params":{"minColumnsAmount":28,"credentials":{"database":"proxi_telecom","sessionId":"XXXXXXXXXXXXXXXX","userName":"[email protected]"}}}
------WebKitFormBoundaryPzJYUB8o918BgI2A--
And this is what the response is:
<html>
<head>
<title>The link you used is not valid</title>
</head>
<body>
<span><h1>Web Error<hr width=100% size=1 color=silver></h1>
<h2>The link you used is not valid</h2></span>
<hr width=100% size=1 color=silver>
file content-type
<p>
MyGeotab 0.0.0.0
</body>
</html>
Not sure if I should take this to the Geotab forums or here. Since I'm working on this add-in in order to issue a pull request within the next few days I thought I would try my luck. I am on my32.
I've tried every default WEX report I can find and when I try to upload them I get this error:
Error: Error parsing file: unrecognised file provider
Can you please direct me to which report I need to get from WEX to make this work?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.