invalid Json

  1. 7 years ago

    Hi

    From rpt log

    ALiVE Extension (ALiVEPlugIn) Error: ['{"error":"not_found","reason":"missing"}
    '] CMD: SendJSON ['GET','sys_player/EAS_Battle%20For%20Tchernarus_1','']

    from aliveplugin log

    [2017-02-15 19:05:44] [debug] Threads (Inc): 1
    [2017-02-15 19:05:44] [debug] Return value [['SendJSONAsync','OK']]
    [2017-02-15 19:05:44] [debug] |/-\ Elapsed time: 22.021ms
    [2017-02-15 19:05:45] [debug] >>> ParseMessage [SendJSONAsync []]
    [2017-02-15 19:05:45] [debug] Function: SendJSONAsync
    [2017-02-15 19:05:45] [debug] Params:
    [2017-02-15 19:05:45] [debug] Waiting for JSON data
    [2017-02-15 19:05:45] [debug] Return value [['WAITING']]
    [2017-02-15 19:05:45] [debug] |/-\ Elapsed time: 2.002ms
    [2017-02-15 19:05:45] [debug] >>> ParseMessage [SendJSONAsync []]
    [2017-02-15 19:05:45] [debug] Function: SendJSONAsync
    [2017-02-15 19:05:45] [debug] Params:
    [2017-02-15 19:05:45] [debug] Waiting for JSON data
    [2017-02-15 19:05:45] [debug] Return value [['WAITING']]
    [2017-02-15 19:05:45] [debug] |/-\ Elapsed time: 2.002ms
    [2017-02-15 19:05:46] [debug] >>> ParseMessage [SendJSONAsync []]
    [2017-02-15 19:05:46] [debug] Function: SendJSONAsync
    [2017-02-15 19:05:46] [debug] Params:
    [2017-02-15 19:05:46] [debug] Waiting for JSON data
    [2017-02-15 19:05:46] [debug] Return value [['WAITING']]
    [2017-02-15 19:05:46] [debug] |/-\ Elapsed time: 1ms
    [2017-02-15 19:05:46] [debug] ### Pushing: {"error":"bad_request","reason":"invalid_json"}

    [2017-02-15 19:05:46] [debug] Threads (Dec): 0
    [2017-02-15 19:05:47] [debug] >>> ParseMessage [SendJSONAsync []]
    [2017-02-15 19:05:47] [debug] Function: SendJSONAsync
    [2017-02-15 19:05:47] [debug] Params:
    [2017-02-15 19:05:47] [debug] Return value [['{"error":"bad_request","reason":"invalid_json"}
    ']]
    [2017-02-15 19:05:47] [debug] |/-\ Elapsed time: 0.999ms

    I have the newest alive.cfg file with the right json ''code''

    And when i server save and exit i get the messages above

  2. Something for @Tupolov to look at :)

  3. RPTs and group name would probably speed things up a bit.

  4. Edited 7 years ago by James Higs

    RPT log

    server rpt https://gist.github.com/anonymous/3fed3c87420ad433e516d7a31450e688

    aliveplugin https://gist.github.com/anonymous/9b591597d697f85de309a24063921851

    group name EAS

  5. Tupolov

    16 Feb 2017 Administrator

    You have a unit named with a special char

    "AAR_unit": "R Bandits  "Les Sans Pit Yeah "
  6. @Tupolov You have a unit named with a special char

    "AAR_unit": "R Bandits "Les Sans Pit Yeah "

    I got rid of the unit, still cant server save and exit
    i get this http://imgur.com/a/gnMaR each time i try to server save and exit, it get stuck there

 

or Sign Up to reply!