iprobedroid / swgoh-arena-tracker

47 stars 190 forks source link

Failed to deserialize player settings #24

Closed vvouvonikos closed 4 years ago

vvouvonikos commented 4 years ago

Hi, I just deployed the bot on Heroku but I'm getting the following error in the application logs: [PlayerSettingsProvider]:Failed to deserialize player settings: Unexpected character encountered while parsing value: <. Path '', line 0, position 0. EDIT: It only happens with a json file, if I provide the allycodes in as a comma-separated list it works

iprobedroid commented 4 years ago

the JSON file should be properly formatted, you probably missing commas or other closing tags, try to open the file in the editor which supports JSON(vscode for example)

vvouvonikos commented 4 years ago

The JSON file is properly formatted. I'm already using VS Code and used the example file. Until a few days ago I used the bot for my fleet shard and it was working perfectly for months. It's no more needed though so I deleted it to create one for my squad shard. And even if I use the same JSON file that I did for fleet I'm getting the same error

iprobedroid commented 4 years ago

what is your discord account?

vvouvonikos commented 4 years ago

Sorry for the late response (I'm on vacation). My discord name is BillyTheKid#4297