DarkWanderer / Elite-Log-Agent

Lightweight, non-intrusive data uploader for Elite Dangerous
MIT License
43 stars 12 forks source link

EDSM API key validation not working #85

Closed PaulKlein closed 5 years ago

PaulKlein commented 5 years ago

I have got an API key from EDSM, but after I enter it into the log agent settings window, the validate button only says 'Message not found' and doesn't accept the API key.

I have tried regenerating the API key from EDSM but this doesn't seem to help.

Any ideas? edsm failure

Peliia commented 5 years ago

I have the same issue here. If I try changing the API key a bit, it still says Commander Name/API Key not found. If I input nothing, it says apiKey.

DarkWanderer commented 5 years ago

@PaulKlein thanks for finding & reporting this - indeed there's an exception when the key is empty. You can work around this by pressing Win+R, copying there following string: notepad %appdata%\EliteLogAgent\Settings.json Then pasting your EDSM API key into apiKey parameter in following section:

    "EdsmUploader": {
      "apiKey": "",
      "verified": true
    }

I'll include a proper fix in a patch

DarkWanderer commented 5 years ago

@Peliia this is a separate issue - a bug in release 1.0.0. Will fix as well, thanks for reporting

DarkWanderer commented 5 years ago

Release 1.0.1.518 is out which should fix both issues

PaulKlein commented 5 years ago

@DarkWanderer Thanks so much, I've just downloaded the new version and it's working perfectly.

Thanks for your support and very helpful app!