timeular-zei-linux icon indicating copy to clipboard operation
timeular-zei-linux copied to clipboard

API Secret key is empty

Open Mela opened this issue 6 years ago • 3 comments

Hello,

After doing all the steps mentioned in the readme I'll get the following message after starting the tool:

2019/02/11 15:01:02 ========== POST call failed ========== 2019/02/11 15:01:02 Path:
2019/02/11 15:01:02 Status Code: 0 2019/02/11 15:01:02 Error:
2019/02/11 15:01:02 Message: apiSecret string is empty 2019/02/11 15:01:02 2019/02/11 15:01:02 Could not authenticate. Err: apiSecret string is empty

A config.json file exists and contains both API-Key and API-Secret.

(Mind, this is my first contact with golang so errors on my side are absolutely possible.)

Regards, Mela

Mela avatar Feb 11 '19 14:02 Mela

Could you share the structure of your config.json file? Please mask the actual key and secret of course.

krisbuist avatar Feb 13 '19 13:02 krisbuist

Of course.

{
  "apiKey": "***",
  "apiSecret": "***"
}

Mela avatar Feb 14 '19 00:02 Mela

Could you try updating your repository, run go build and try again? As for now, I can only imagine the config file doesn't exist in the correct directory or can't be read by the application.

krisbuist avatar Feb 16 '19 16:02 krisbuist