Closed wellemut closed 9 months ago
Im am trying to import this file:
update-patch.csv
But we only get the message: expected value at line 1 column 1
C:\Users\Helmut\Downloads>ofdb --api-url https://api.ofdb.io import --opencage-api-key XX --report-file import-report-csx.json entries2.csv INFO ofdb > Import entries from file (CSV): entries2.csv INFO ofdb_cli::csv > Read entries form CSV INFO ofdb_cli::csv > Check address and geo location for entry 'le bol' (Some("Göttingen")) INFO ofdb_cli::csv > Try to resolve lat/lang from address (Address { street: Some("Mitteldorfstraße 9"), zip: Some("37083"), city: Some("Göttingen"), country: Some("Deutschland"), state: None }) INFO ofdb_cli::csv > Check address and geo location for entry 'SoliSolar Hamburg' (Some("Hamburg")) INFO ofdb_cli::csv > Try to resolve lat/lang from address (Address { street: Some("Brunsberg 7"), zip: Some("22529"), city: Some("Hamburg"), country: Some("Deutschland"), state: None }) INFO ofdb_cli::csv > Check address and geo location for entry 'Westhausener Gerätering-weShare e.V.' (Some("Westhausen")) INFO ofdb_cli::csv > Try to resolve lat/lang from address (Address { street: Some("Donauschwabenstraße 18"), zip: Some("73463"), city: Some("Westhausen"), country: Some("Deutschland"), state: None }) INFO ofdb_cli::csv > Check address and geo location for entry 'PV-Selbstbau-Gruppe Aachen' (Some("Aachen")) INFO ofdb_cli::csv > Try to resolve lat/lang from address (Address { street: Some("Weststraße 54"), zip: Some("52066"), city: Some("Aachen"), country: Some("Deutschland"), state: None }) Error: error decoding response body: expected value at line 1 column 1 Caused by: expected value at line 1 column 1
What is going wrong? How can we improve the error-messages?
Try to use https://api.ofdb.io/v0
See also: https://github.com/kartevonmorgen/openfairdb/blob/main/doc/src/api_usage.md#endpoints
Great, now it is working!
Im am trying to import this file:
update-patch.csv
But we only get the message: expected value at line 1 column 1
What is going wrong? How can we improve the error-messages?