kartevonmorgen / openfairdb

Open Fair DB is the CreativCommons Backend of Kartevonmorgen.org
http://www.openfairdb.org
GNU Affero General Public License v3.0
55 stars 18 forks source link

Import Bug #411

Closed wellemut closed 2 years ago

wellemut commented 2 years ago

(Needed to do the Import: https://github.com/orgs/kartevonmorgen/projects/8#card-84214259)

To reproduce

  1. go to the folder of the file cd C:\Users\Helmut\Wechange\Aalen Karte von Morgen 1.2 file entries.csv get it from https://cloud.wechange.de/s/M2DW8DpYcTBbEDF
  2. Command ofdb --api-url https://dev.ofdb.io/ import --opencage-api-key 2049603a30ec4cb8a96c2c7fe662dc96 --report-file import-report.json "entries.csv"

Reading from CSV was succesful Error: error decoding response body: expected value at line 1 column 1

Caused by: expected value at line 1 column 1

grafik

flosse commented 2 years ago

This is not a bug, but a lack of error handling.

With #398 you get an error message that you are using an invalid license.