-
Notifications
You must be signed in to change notification settings - Fork 210
Error on startup "JSONObject["beta"] not a string" #55
Comments
So i have a bit of a update i tried removing the "beta" line from the config but that resulted in it saying beta line if missing. Now i tried replacing null with a . and that resulted in the tokens failing. |
The problem is that the bot thinks it is in development mode. That must have been my fault since I left the default configuration like that. Here's what your config.json file should probably look like: {
"patron": true,
"development": false
} |
Thanks for the reply, that seemed to help but now its showing a error about the credentials file. Also i havent changed the file since. |
Invalid JSON syntax on line 3. You must specify a value for each key but you left it blank. |
I had keys in all of them but i deleted them for the screenshot, sorry for the confusion. |
Please make sure you also have your client token surrounded by quotation marks and ending with a comma. Your JSON is not valid. |
I added quotes and a comma still no luck. |
Would you mind if i emailed you the config files? |
Not really, but you could just use a JSON parser like
http://jsonviewer.stack.hu/ to check for yourself.
…On 16 January 2017 at 08:58, Davindra ***@***.***> wrote:
Would you mind if i emailed you the config file?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/Frederikam/FredBoat/issues/55#issuecomment-272795296>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACdoWRjEV-a-3XJvlpsSPimbTq6yZuq1ks5rSyMxgaJpZM4LkE6u>
.
|
I pasted it in the viewer then clicked format copied that to the text json file and still puts out the same error. |
I'm having the same problem |
Hi no matter what i do to the config files i get a error when trying to self host fredboat. I attached some screenshots down below and i double check that i have the latest version of java and yes i blurred out the client key in the screenshot.
https://puu.sh/tnGKj/38a2015202.png
https://puu.sh/tnKg4/186acc1cec.png
The text was updated successfully, but these errors were encountered: