Giter Club home page Giter Club logo

addin-fuel-transaction-import's Issues

addin no longer works on my database, server returning error after file upload

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.

WEX File Not Accepted

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.