0
To nie jest błąd

CLI wbesite Import - 500 Error

TheTechnoMan 6 lat temu Ostatnio zmodyfikowane przez Eugene Pankov (Project coordinator) 6 lat temu 3
I always get an:

500 Error
Config does not exist
when trying to import a previosly exported JSON file.

Odpowiedź

Odpowiedź
To nie jest błąd
You need to use an absolute path to the file.
Odpowiedź
To nie jest błąd
You need to use an absolute path to the file.
Is the generated JSON code even valid? I mean it ends with:

200 OK
}

What does the 200 OK here? If i try to import that file i will get:

Expecting , delimiter: line 64 column 1


# If i remove that 200 OK it works fine.
Status code is being output on stderr, while actual JSON code is on stdout. You can do following:

ajenti-ipc v export Website > website.json